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/project succeeded Aug 31, 2023 in 1s

71.12% (target 70.00%)

View this Pull Request on Codecov

71.12% (target 70.00%)

Details

Codecov Report

Merging #9507 (4fe6846) into main (ff65403) will decrease coverage by 0.02%.
Report is 1 commits behind head on main.
The diff coverage is 66.03%.

@@             Coverage Diff              @@
##               main    #9507      +/-   ##
============================================
- Coverage     71.14%   71.12%   -0.02%     
- Complexity    57552    57584      +32     
============================================
  Files          4782     4783       +1     
  Lines        271408   271444      +36     
  Branches      39633    39639       +6     
============================================
- Hits         193084   193063      -21     
- Misses        62123    62176      +53     
- Partials      16201    16205       +4     
Files Changed Coverage Δ
...rg/opensearch/common/settings/ClusterSettings.java 93.18% <ø> (ø)
...st/action/cat/RestCatSegmentReplicationAction.java 25.74% <0.00%> (-19.81%) ⬇️
...opensearch/index/SegmentReplicationShardStats.java 30.43% <40.00%> (-8.59%) ⬇️
...replication/common/SegmentReplicationLagTimer.java 40.00% <40.00%> (ø)
...earch/index/SegmentReplicationPressureService.java 76.69% <69.23%> (-0.63%) ⬇️
...org/opensearch/index/seqno/ReplicationTracker.java 68.91% <80.95%> (+0.25%) ⬆️
...in/java/org/opensearch/index/shard/IndexShard.java 69.41% <100.00%> (-0.19%) ⬇️
...ckpoint/SegmentReplicationCheckpointPublisher.java 100.00% <100.00%> (ø)

... and 464 files with indirect coverage changes