mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-10 23:26:53 +00:00
fix(scanner): require authoritative usage snapshots (#5333)
This commit is contained in:
@@ -34,6 +34,7 @@ fn snapshot(bucket: &str, last_update: SystemTime) -> DataUsageInfo {
|
||||
..Default::default()
|
||||
},
|
||||
);
|
||||
info.usage_snapshot_complete = true;
|
||||
info.bucket_sizes.insert(bucket.to_string(), 42);
|
||||
info.buckets_count = 1;
|
||||
info.calculate_totals();
|
||||
|
||||
Reference in New Issue
Block a user