fix(storage): harden ODM and scanner publication

This commit is contained in:
overtrue
2026-09-05 14:44:01 +08:00
parent 123967e729
commit 5cb670d360
28 changed files with 1718 additions and 163 deletions
+6
View File
@@ -560,6 +560,12 @@ pub mod set_disk {
pub mod test_util {
pub use crate::bucket::quota::reservation::fail_next_quota_ledger_save_for_test;
pub use crate::set_disk::{MultipartCommitBarrier, MultipartCommitPause, PutObjectCommitBarrier, PutObjectCommitPause};
/// Keep a namespace commit pending until the returned owner is dropped.
#[must_use]
pub fn hold_namespace_commit(store: &crate::store::ECStore) -> impl Send + Sync {
store.ctx.begin_namespace_commit()
}
}
}