fix(ecstore): log walk failures in IAM listing path (#2705)

Co-authored-by: GatewayJ <8352692332qq.com>
Co-authored-by: loverustfs <hello@rustfs.com>
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
GatewayJ
2026-04-27 22:13:40 +08:00
committed by GitHub
parent 159ddd5bac
commit 09be06a4d2
2 changed files with 28 additions and 8 deletions
+9 -1
View File
@@ -369,9 +369,17 @@ impl ObjectStore {
let path = prefix.to_owned();
tokio::spawn(async move {
store
if let Err(err) = store
.walk(ctx.clone(), Self::BUCKET_NAME, &path, tx, WalkOptions::default())
.await
{
error!(
bucket = Self::BUCKET_NAME,
prefix = %path,
error = ?err,
"list_iam_config_items walk task failed"
);
}
});
let prefix = prefix.to_owned();