linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.75k stars 275 forks source link

[DR] Add replication between server-backup node in Backup Integrity Monitor #2761

Closed snalli closed 6 months ago

snalli commented 6 months ago

This patch adds replication between server and backup-node. The integ. monitor gets and compares metadata from server and compares it with on-disk metadata (which is a copy of cloud metadata). It then prints any mismatches to an output file.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 4.30108% with 267 lines in your changes are missing coverage. Please review.

Project coverage is 53.42%. Comparing base (7db0369) to head (06a84ac). Report is 19 commits behind head on master.

Files Patch % Lines
...com/github/ambry/cloud/BackupIntegrityMonitor.java 0.00% 100 Missing :warning:
.../github/ambry/replication/BackupCheckerThread.java 0.00% 78 Missing :warning:
...ub/ambry/replication/BackupCheckerFileManager.java 0.00% 42 Missing :warning:
.../main/java/com/github/ambry/store/MessageInfo.java 0.00% 36 Missing :warning:
...n/java/com/github/ambry/store/BlobMatchStatus.java 0.00% 10 Missing :warning:
.../com/github/ambry/cloud/VcrReplicationManager.java 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2761 +/- ## ============================================= - Coverage 70.47% 53.42% -17.06% + Complexity 11581 9022 -2559 ============================================= Files 837 839 +2 Lines 71205 71686 +481 Branches 8542 8606 +64 ============================================= - Hits 50182 38298 -11884 - Misses 18408 30895 +12487 + Partials 2615 2493 -122 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.