Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple replication lag from logic to fail stale replicas #9507

Merged
merged 12 commits into from
Aug 31, 2023

Retry Gradle

4fe6846
Select commit
Loading
Failed to load commit list.
Merged

Decouple replication lag from logic to fail stale replicas #9507

Retry Gradle
4fe6846
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Aug 31, 2023 in 1s

66.03% of diff hit (target 71.14%)

View this Pull Request on Codecov

66.03% of diff hit (target 71.14%)

Annotations

Check warning on line 204 in server/src/main/java/org/opensearch/index/SegmentReplicationPressureService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/SegmentReplicationPressureService.java#L203-L204

Added lines #L203 - L204 were not covered by tests

Check warning on line 207 in server/src/main/java/org/opensearch/index/SegmentReplicationPressureService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/SegmentReplicationPressureService.java#L207

Added line #L207 was not covered by tests

Check warning on line 64 in server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java#L64

Added line #L64 was not covered by tests

Check warning on line 116 in server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java#L116

Added line #L116 was not covered by tests

Check warning on line 134 in server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/SegmentReplicationShardStats.java#L134

Added line #L134 was not covered by tests

Check warning on line 1260 in server/src/main/java/org/opensearch/index/seqno/ReplicationTracker.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/index/seqno/ReplicationTracker.java#L1260

Added line #L1260 was not covered by tests

Check warning on line 37 in server/src/main/java/org/opensearch/indices/replication/common/SegmentReplicationLagTimer.java

See this annotation in the file changed.

@codecov 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

Check warning on line 43 in server/src/main/java/org/opensearch/indices/replication/common/SegmentReplicationLagTimer.java

See this annotation in the file changed.

@codecov 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

Check warning on line 174 in server/src/main/java/org/opensearch/rest/action/cat/RestCatSegmentReplicationAction.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestCatSegmentReplicationAction.java#L174

Added line #L174 was not covered by tests