-
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
fix stale remote cluster uuid state not purged from remote #10016
fix stale remote cluster uuid state not purged from remote #10016
Conversation
Compatibility status:Checks if related components are compatible with change 4a64bb9 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/performance-analyzer.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/reporting.git] |
Gradle Check (Jenkins) Run Completed with:
|
378dcec
to
eb7600f
Compare
Gradle Check (Jenkins) Run Completed with:
|
eb7600f
to
a0f4a86
Compare
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #10016 +/- ##
============================================
+ Coverage 71.16% 71.28% +0.12%
- Complexity 58297 58439 +142
============================================
Files 4830 4843 +13
Lines 274903 275205 +302
Branches 40059 40068 +9
============================================
+ Hits 195637 196192 +555
+ Misses 62882 62607 -275
- Partials 16384 16406 +22
|
a0f4a86
to
210ae69
Compare
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
Signed-off-by: bansvaru <bansvaru@amazon.com>
b23f8c3
to
4a64bb9
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
* fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <bansvaru@amazon.com> * fix tests Signed-off-by: bansvaru <bansvaru@amazon.com> * use new limit parameter Signed-off-by: bansvaru <bansvaru@amazon.com> * minor refactoring Signed-off-by: bansvaru <bansvaru@amazon.com> * delete index metadata files before manifest file Signed-off-by: bansvaru <bansvaru@amazon.com> * add basic UT Signed-off-by: bansvaru <bansvaru@amazon.com> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <bansvaru@amazon.com> * fix git diff Signed-off-by: bansvaru <bansvaru@amazon.com> * remove unreferenced code Signed-off-by: bansvaru <bansvaru@amazon.com> * fix spa Signed-off-by: bansvaru <bansvaru@amazon.com> --------- Signed-off-by: bansvaru <bansvaru@amazon.com> (cherry picked from commit 1eec0f1) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <bansvaru@amazon.com> * fix tests Signed-off-by: bansvaru <bansvaru@amazon.com> * use new limit parameter Signed-off-by: bansvaru <bansvaru@amazon.com> * minor refactoring Signed-off-by: bansvaru <bansvaru@amazon.com> * delete index metadata files before manifest file Signed-off-by: bansvaru <bansvaru@amazon.com> * add basic UT Signed-off-by: bansvaru <bansvaru@amazon.com> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <bansvaru@amazon.com> * fix git diff Signed-off-by: bansvaru <bansvaru@amazon.com> * remove unreferenced code Signed-off-by: bansvaru <bansvaru@amazon.com> * fix spa Signed-off-by: bansvaru <bansvaru@amazon.com> --------- Signed-off-by: bansvaru <bansvaru@amazon.com> (cherry picked from commit 1eec0f1) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…10446) * fix stale remote cluster uuid state not purged from remote * fix tests * use new limit parameter * minor refactoring * delete index metadata files before manifest file * add basic UT * delete all data related to a cluster uuid in a single call * fix git diff * remove unreferenced code * fix spa --------- (cherry picked from commit 1eec0f1) Signed-off-by: bansvaru <bansvaru@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…h-project#10016) * fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <bansvaru@amazon.com> * fix tests Signed-off-by: bansvaru <bansvaru@amazon.com> * use new limit parameter Signed-off-by: bansvaru <bansvaru@amazon.com> * minor refactoring Signed-off-by: bansvaru <bansvaru@amazon.com> * delete index metadata files before manifest file Signed-off-by: bansvaru <bansvaru@amazon.com> * add basic UT Signed-off-by: bansvaru <bansvaru@amazon.com> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <bansvaru@amazon.com> * fix git diff Signed-off-by: bansvaru <bansvaru@amazon.com> * remove unreferenced code Signed-off-by: bansvaru <bansvaru@amazon.com> * fix spa Signed-off-by: bansvaru <bansvaru@amazon.com> --------- Signed-off-by: bansvaru <bansvaru@amazon.com>
…h-project#10016) * fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <bansvaru@amazon.com> * fix tests Signed-off-by: bansvaru <bansvaru@amazon.com> * use new limit parameter Signed-off-by: bansvaru <bansvaru@amazon.com> * minor refactoring Signed-off-by: bansvaru <bansvaru@amazon.com> * delete index metadata files before manifest file Signed-off-by: bansvaru <bansvaru@amazon.com> * add basic UT Signed-off-by: bansvaru <bansvaru@amazon.com> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <bansvaru@amazon.com> * fix git diff Signed-off-by: bansvaru <bansvaru@amazon.com> * remove unreferenced code Signed-off-by: bansvaru <bansvaru@amazon.com> * fix spa Signed-off-by: bansvaru <bansvaru@amazon.com> --------- Signed-off-by: bansvaru <bansvaru@amazon.com>
…h-project#10016) * fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <bansvaru@amazon.com> * fix tests Signed-off-by: bansvaru <bansvaru@amazon.com> * use new limit parameter Signed-off-by: bansvaru <bansvaru@amazon.com> * minor refactoring Signed-off-by: bansvaru <bansvaru@amazon.com> * delete index metadata files before manifest file Signed-off-by: bansvaru <bansvaru@amazon.com> * add basic UT Signed-off-by: bansvaru <bansvaru@amazon.com> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <bansvaru@amazon.com> * fix git diff Signed-off-by: bansvaru <bansvaru@amazon.com> * remove unreferenced code Signed-off-by: bansvaru <bansvaru@amazon.com> * fix spa Signed-off-by: bansvaru <bansvaru@amazon.com> --------- Signed-off-by: bansvaru <bansvaru@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
[Describe what this change achieves]
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.