[Backport 2.x] [Segment Replication ] Add shard routing primary check when processing a checkpoint.#4716
Merged
dreamer-89 merged 1 commit intoopensearch-project:2.xfrom Oct 10, 2022
Conversation
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #4716 +/- ##
============================================
+ Coverage 70.62% 70.68% +0.06%
- Complexity 57126 57486 +360
============================================
Files 4585 4615 +30
Lines 274526 275861 +1335
Branches 40233 40363 +130
============================================
+ Hits 193876 194994 +1118
- Misses 64403 64691 +288
+ Partials 16247 16176 -71
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
dreamer-89
approved these changes
Oct 10, 2022
| - [Segment Replication] Fix NoSuchFileExceptions with segment replication when computing primary metadata snapshots ([#4366](https://github.com/opensearch-project/OpenSearch/pull/4366)) | ||
| - [Segment Replication] Fix timeout issue by calculating time needed to process getSegmentFiles ([#4434](https://github.com/opensearch-project/OpenSearch/pull/4434)) | ||
| - [Segment Replication] Update replicas to commit SegmentInfos instead of relying on segments_N from primary shards. | ||
| - [Segment Replication] Update replicas to commit SegmentInfos instead of relying on segments_N from primary shards ([#4450](https://github.com/opensearch-project/OpenSearch/pull/4450)) |
Member
There was a problem hiding this comment.
Thanks for fixing this changelog entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Rishikesh1159 rishireddy1159@gmail.com
Description
This PR backports #4630
Issues Resolved
#3923
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.