-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] Remove seqNo field from ReplicationCheckpoint and use UserData to transfer state. #6601
Conversation
Gradle Check (Jenkins) Run Completed with:
|
PR needs some fixing @mch2
|
Gradle Check (Jenkins) Run Completed with:
|
…nd use UserData to transfer state. (opensearch-project#6594) * Segment Replication - Fix incorrect maxSeqNo computation. This change updates getLatestSegmentInfos to only return the max seqNo from the previous commit point. This is the only way to guarantee that up to this seqNo has made it into the commit point. Signed-off-by: Marc Handalian <[email protected]> * Remove unnecessary seqNo field from ReplicationCheckpoint. Signed-off-by: Marc Handalian <[email protected]> --------- Signed-off-by: Marc Handalian <[email protected]> (cherry picked from commit f4739bb) Signed-off-by: Marc Handalian <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## 2.x #6601 +/- ##
============================================
+ Coverage 70.39% 70.44% +0.04%
- Complexity 59272 59346 +74
============================================
Files 4800 4800
Lines 284608 284602 -6
Branches 41353 41352 -1
============================================
+ Hits 200350 200478 +128
+ Misses 67463 67382 -81
+ Partials 16795 16742 -53
... and 477 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
…nd use UserData to transfer state. (#6594)
This change updates getLatestSegmentInfos to only return the max seqNo from the previous commit point. This is the only way to guarantee that up to this seqNo has made it into the commit point.
Signed-off-by: Marc Handalian [email protected]
Signed-off-by: Marc Handalian [email protected]
Description
Backport #6594