-
Notifications
You must be signed in to change notification settings - Fork 61
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
Modified _stop replication API to remove any stale replication settings on existing index #410
Modified _stop replication API to remove any stale replication settings on existing index #410
Conversation
Codecov Report
@@ Coverage Diff @@
## main #410 +/- ##
============================================
- Coverage 73.97% 73.03% -0.94%
+ Complexity 995 981 -14
============================================
Files 141 141
Lines 4554 4566 +12
Branches 504 507 +3
============================================
- Hits 3369 3335 -34
- Misses 862 917 +55
+ Partials 323 314 -9
Continue to review full report at Codecov.
|
Security tests are failing as the main is tracking OS 2.0 |
What if the snapshot was taken while the index was getting replicated? We'd still end up having these replication specific settings on the restored index right? |
Yes, the index can still have the settings but normally, flow to restore would be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, few comments.
src/main/kotlin/org/opensearch/replication/action/stop/TransportStopIndexReplicationAction.kt
Outdated
Show resolved
Hide resolved
src/test/kotlin/org/opensearch/replication/integ/rest/StopReplicationIT.kt
Outdated
Show resolved
Hide resolved
ebb1570
to
a7b9b98
Compare
src/test/kotlin/org/opensearch/replication/MultiClusterRestTestCase.kt
Outdated
Show resolved
Hide resolved
69585b6
a7b9b98
to
69585b6
Compare
…gs on existing index Signed-off-by: Sai Kumar <[email protected]>
bc7c64b
69585b6
to
bc7c64b
Compare
…gs on existing index (#410) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307)
…gs on existing index (#410) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307)
…gs on existing index (#410) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307)
…gs on existing index (#410) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307)
…gs on existing index (#410) (#506) (cherry picked from commit 0bad307) Co-authored-by: Sai Kumar <[email protected]>
…gs on existing index (#410) (#504) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307) Co-authored-by: Sai Kumar <[email protected]>
…gs on existing index (#410) (#505) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307) Co-authored-by: Sai Kumar <[email protected]>
…gs on existing index (#410) (#507) Signed-off-by: Sai Kumar <[email protected]> (cherry picked from commit 0bad307) Co-authored-by: Sai Kumar <[email protected]>
…gs on existing index (opensearch-project#410) Signed-off-by: Sai Kumar <[email protected]>
…gs on existing index (#410) (#911) Signed-off-by: Sai Kumar <[email protected]>
Signed-off-by: Sai Kumar [email protected]
Description
Modified _stop replication API to remove any stale replication settings on existing index
Issues Resolved
#342
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.