mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-09 14:49:25 +00:00
feat(scanner): define replication boundary contract (#3630)
* feat(scanner): define replication boundary contract * fix(scanner): propagate replication boundary metrics * fix(scanner): preserve repair metadata on merge --------- Co-authored-by: Henry Guo <marshawcoco@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -2643,6 +2643,8 @@ mod tests {
|
||||
.iter()
|
||||
.find(|repair| repair.source == ScannerWorkSource::BucketReplication.as_str() && repair.kind == "object")
|
||||
.expect("bucket object repair work should be visible");
|
||||
assert_eq!(object_repair.scanner_role, "repair_admission");
|
||||
assert_eq!(object_repair.execution_owner, "bucket_replication_queue");
|
||||
assert_eq!(object_repair.skipped, 1);
|
||||
assert_eq!(object_repair.queued, 1);
|
||||
assert_eq!(object_repair.missed, 1);
|
||||
|
||||
Reference in New Issue
Block a user