refactor(ecstore): narrow api facade exports (#4270)

* refactor(ecstore): narrow bucket api facade

* refactor(ecstore): narrow more api facades

* test(ecstore): stabilize multipart cleanup test
This commit is contained in:
Zhengchao An
2026-07-05 06:06:39 +08:00
committed by GitHub
parent 9b69c6d14c
commit 0271d7aa2b
4 changed files with 288 additions and 21 deletions
@@ -4699,10 +4699,6 @@ mod tests {
fs::create_dir_all(path.join(RUSTFS_META_MULTIPART_BUCKET).join(&sha_dir))
.await
.expect("empty multipart sha dir should be created for cleanup");
assert!(
path.join(RUSTFS_META_MULTIPART_BUCKET).join(&sha_dir).exists(),
"empty multipart sha dir should exist before cleanup"
);
}
cleanup_empty_multipart_sha_dirs_on_local_disks(&ecstore.pools[0].disk_set[0]).await;