fix(ecstore): complete rename tails after quorum ack (#6489)

This commit is contained in:
Zhengchao An
2026-08-24 14:30:50 +08:00
committed by GitHub
parent 51272d34dd
commit 86e969f63c
7 changed files with 1543 additions and 261 deletions
+5 -4
View File
@@ -922,10 +922,11 @@ mod tests {
// The List family runs through the borrow handle with unchanged
// behavior: delete_all reports success even when the prefix is absent.
ListOperations::new(set_disks.ctx())
.delete_all("nonexistent-bucket", "nonexistent-prefix")
.await
.expect("delete_all via borrow handle should succeed");
let (result, observed_disks) = ListOperations::new(set_disks.ctx())
.delete_all_observed("nonexistent-bucket", "nonexistent-prefix", None)
.await;
result.expect("delete_all via borrow handle should succeed");
assert_eq!(observed_disks.len(), disk_count);
set_disks
.delete_all("nonexistent-bucket", "nonexistent-prefix")
.await