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 <[email protected]> Co-authored-by: houseme <[email protected]>
This commit is contained in:
co-authored by
Henry Guo
houseme
parent
eff656e086
commit
7bdb25ae9d
@@ -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