fix(ecstore): preserve buckets after pool expansion (#7040)

* fix(ecstore): preserve buckets after pool expansion

* fix(ecstore): scope bucket operations by erasure set

* fix(ecstore): preserve bucket metadata load errors
This commit is contained in:
cxymds
2026-09-02 15:33:55 +08:00
committed by GitHub
parent c066faf07a
commit 1bbfa71b11
3 changed files with 559 additions and 117 deletions
@@ -190,7 +190,7 @@ fn install_heal_bucket_pre_mutation_barrier() -> Arc<DeleteBucketEmptyScanBarrie
}
#[cfg(test)]
async fn pause_after_delete_bucket_empty_scan() {
pub(crate) async fn pause_after_delete_bucket_empty_scan() {
let barrier = DELETE_BUCKET_EMPTY_SCAN_BARRIER
.lock()
.expect("empty scan barrier lock should not be poisoned")