fix(scanner): cache object lock config (#4422)

* fix(scanner): cache object lock config

* test(scanner): update lifecycle scanner items
This commit is contained in:
Zhengchao An
2026-07-08 15:01:57 +08:00
committed by GitHub
parent c0d5f938f2
commit e0972f19ac
4 changed files with 81 additions and 7 deletions
@@ -608,6 +608,7 @@ async fn scan_object_with_lifecycle(disk_path: &Path, bucket: &str, object: &str
object_name: STORAGE_FORMAT_FILE.to_string(),
file_type,
lifecycle,
object_lock: None,
replication: None,
heal_enabled: false,
heal_bitrot: false,
@@ -644,6 +645,7 @@ async fn scan_object_metadata(disk_path: &Path, bucket: &str, object: &str) {
object_name: STORAGE_FORMAT_FILE.to_string(),
file_type,
lifecycle: None,
object_lock: None,
replication: None,
heal_enabled: false,
heal_bitrot: false,