-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
Signed-off-by: bansvaru <[email protected]>
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 <[email protected]> * fix tests Signed-off-by: bansvaru <[email protected]> * use new limit parameter Signed-off-by: bansvaru <[email protected]> * minor refactoring Signed-off-by: bansvaru <[email protected]> * delete index metadata files before manifest file Signed-off-by: bansvaru <[email protected]> * add basic UT Signed-off-by: bansvaru <[email protected]> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <[email protected]> * fix git diff Signed-off-by: bansvaru <[email protected]> * remove unreferenced code Signed-off-by: bansvaru <[email protected]> * fix spa Signed-off-by: bansvaru <[email protected]> --------- Signed-off-by: bansvaru <[email protected]> (cherry picked from commit 1eec0f1) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…10403) --------- (cherry picked from commit 1eec0f1) Signed-off-by: bansvaru <[email protected]> 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>
* fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <[email protected]> * fix tests Signed-off-by: bansvaru <[email protected]> * use new limit parameter Signed-off-by: bansvaru <[email protected]> * minor refactoring Signed-off-by: bansvaru <[email protected]> * delete index metadata files before manifest file Signed-off-by: bansvaru <[email protected]> * add basic UT Signed-off-by: bansvaru <[email protected]> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <[email protected]> * fix git diff Signed-off-by: bansvaru <[email protected]> * remove unreferenced code Signed-off-by: bansvaru <[email protected]> * fix spa Signed-off-by: bansvaru <[email protected]> --------- Signed-off-by: bansvaru <[email protected]> (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 <[email protected]> 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 <[email protected]> * fix tests Signed-off-by: bansvaru <[email protected]> * use new limit parameter Signed-off-by: bansvaru <[email protected]> * minor refactoring Signed-off-by: bansvaru <[email protected]> * delete index metadata files before manifest file Signed-off-by: bansvaru <[email protected]> * add basic UT Signed-off-by: bansvaru <[email protected]> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <[email protected]> * fix git diff Signed-off-by: bansvaru <[email protected]> * remove unreferenced code Signed-off-by: bansvaru <[email protected]> * fix spa Signed-off-by: bansvaru <[email protected]> --------- Signed-off-by: bansvaru <[email protected]>
…h-project#10016) * fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <[email protected]> * fix tests Signed-off-by: bansvaru <[email protected]> * use new limit parameter Signed-off-by: bansvaru <[email protected]> * minor refactoring Signed-off-by: bansvaru <[email protected]> * delete index metadata files before manifest file Signed-off-by: bansvaru <[email protected]> * add basic UT Signed-off-by: bansvaru <[email protected]> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <[email protected]> * fix git diff Signed-off-by: bansvaru <[email protected]> * remove unreferenced code Signed-off-by: bansvaru <[email protected]> * fix spa Signed-off-by: bansvaru <[email protected]> --------- Signed-off-by: bansvaru <[email protected]>
…h-project#10016) * fix stale remote cluster uuid state not purged from remote Signed-off-by: bansvaru <[email protected]> * fix tests Signed-off-by: bansvaru <[email protected]> * use new limit parameter Signed-off-by: bansvaru <[email protected]> * minor refactoring Signed-off-by: bansvaru <[email protected]> * delete index metadata files before manifest file Signed-off-by: bansvaru <[email protected]> * add basic UT Signed-off-by: bansvaru <[email protected]> * delete all data related to a cluster uuid in a single call Signed-off-by: bansvaru <[email protected]> * fix git diff Signed-off-by: bansvaru <[email protected]> * remove unreferenced code Signed-off-by: bansvaru <[email protected]> * fix spa Signed-off-by: bansvaru <[email protected]> --------- Signed-off-by: bansvaru <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
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.