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

[Segment Replication] For replica recovery, force segment replication sync from peer recovery source #6149

Merged

Conversation

dreamer-89
Copy link
Member

Backport of #5746 to 2.x

… sync from peer recovery source (opensearch-project#5746)

* [Segment Replication] For replica recovery, force segment replication sync from source

Signed-off-by: Suraj Singh <[email protected]>

* Rebase against main

Signed-off-by: Suraj Singh <[email protected]>

* Fix unit test

Signed-off-by: Suraj Singh <[email protected]>

* PR feedback

Signed-off-by: Suraj Singh <[email protected]>

* Fix remote store recovery test

Signed-off-by: Suraj Singh <[email protected]>

---------

Signed-off-by: Suraj Singh <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2023

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link

Codecov Report

Merging #6149 (0c7d1b9) into 2.x (d61942e) will decrease coverage by 0.05%.
The diff coverage is 68.75%.

📣 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    #6149      +/-   ##
============================================
- Coverage     70.55%   70.50%   -0.05%     
+ Complexity    59042    58995      -47     
============================================
  Files          4772     4772              
  Lines        282790   282769      -21     
  Branches      41186    41185       -1     
============================================
- Hits         199511   199356     -155     
- Misses        66604    66713     +109     
- Partials      16675    16700      +25     
Impacted Files Coverage Δ
...s/replication/SegmentReplicationTargetService.java 50.71% <33.33%> (-0.37%) ⬇️
...org/opensearch/index/shard/IndexShardTestCase.java 93.31% <62.50%> (-1.07%) ⬇️
...ch/indices/cluster/IndicesClusterStateService.java 66.57% <100.00%> (-2.78%) ⬇️
...search/indices/recovery/RecoverySourceHandler.java 76.79% <100.00%> (-0.93%) ⬇️
...ation/OpenSearchIndexLevelReplicationTestCase.java 89.89% <100.00%> (+0.21%) ⬆️
...index/translog/transfer/FileTransferException.java 0.00% <0.00%> (-100.00%) ⬇️
...port/ResponseHandlerFailureTransportException.java 0.00% <0.00%> (-60.00%) ⬇️
...ava/org/opensearch/action/NoSuchNodeException.java 0.00% <0.00%> (-50.00%) ⬇️
...a/org/opensearch/tasks/TaskCancelledException.java 50.00% <0.00%> (-50.00%) ⬇️
...ch/transport/ReceiveTimeoutTransportException.java 50.00% <0.00%> (-50.00%) ⬇️
... and 457 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dreamer-89 dreamer-89 merged commit 651803d into opensearch-project:2.x Feb 2, 2023
@dreamer-89 dreamer-89 deleted the backport/backport-5746-to-2.x branch March 2, 2023 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants