Decouple replication lag from logic to fail stale replicas #9507
66.03% of diff hit (target 71.14%)
View this Pull Request on Codecov
66.03% of diff hit (target 71.14%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/index/SegmentReplicationPressureService.java#L203-L204
Added lines #L203 - L204 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/index/SegmentReplicationPressureService.java#L207
Added line #L207 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java#L64
Added line #L64 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java#L116
Added line #L116 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java#L134
Added line #L134 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/index/seqno/ReplicationTracker.java#L1260
Added line #L1260 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/indices/replication/common/SegmentReplicationLagTimer.java#L35-L37
Added lines #L35 - L37 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/indices/replication/common/SegmentReplicationLagTimer.java#L41-L43
Added lines #L41 - L43 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/rest/action/cat/RestCatSegmentReplicationAction.java#L174
Added line #L174 was not covered by tests