20261015_4 修复Manifest编号与改名抗重放校验
Some checks failed
ci / rust (push) Failing after 17s
ci / docker (push) Failing after 1m12s
ci / audit (push) Failing after 8s

This commit is contained in:
2026-10-16 11:16:20 +08:00
parent 385af349ae
commit 5f46837b61
34 changed files with 1346 additions and 149 deletions

View File

@@ -27,6 +27,8 @@ pub use pack::{PackBytes, PackFile, PackTime};
pub struct RocksStore {
db: DB,
// The lock covers only history read/check/write, never network or validation.
manifest_history_commit: std::sync::Mutex<()>,
external_raw_store: Option<ExternalRawStoreDb>,
external_repo_bytes: Option<ExternalRepoBytesDb>,
}