fix(rebalance): fence batch delete source pools (#5846)

This commit is contained in:
cxymds
2026-08-08 21:14:26 +08:00
committed by GitHub
parent 8c75a3834a
commit 65e55c0f8e
2 changed files with 78 additions and 0 deletions
+3
View File
@@ -1932,6 +1932,9 @@ impl ECStore {
let mut futures = Vec::with_capacity(self.pools.len());
for pool in self.pools.iter() {
if self.is_pool_rebalancing(pool.pool_idx).await {
continue;
}
futures.push(pool.delete_objects(bucket, objects.clone(), opts.clone()));
}