-
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
link previous cluster uuid to current cluster uuid even if current cluster uuid is not committed #10832
link previous cluster uuid to current cluster uuid even if current cluster uuid is not committed #10832
Conversation
…uster uuid is not committed Signed-off-by: bansvaru <[email protected]>
Compatibility status:Checks if related components are compatible with change d048ce7 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/cross-cluster-replication.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/reporting.git, 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/performance-analyzer.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git] |
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: bansvaru <[email protected]>
Flaky Test org.opensearch.search.aggregations.metrics.CardinalityWithRequestBreakerIT.testRequestBreaker {p0={"search.concurrent_segment_search.enabled":"true"}} |
…te manifest Signed-off-by: bansvaru <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #10832 +/- ##
============================================
- Coverage 71.31% 71.27% -0.05%
- Complexity 58671 58711 +40
============================================
Files 4860 4869 +9
Lines 276335 276475 +140
Branches 40198 40202 +4
============================================
- Hits 197068 197046 -22
- Misses 62803 63031 +228
+ Partials 16464 16398 -66
|
Gradle Check (Jenkins) Run Completed with:
|
91ac084
into
opensearch-project:main
…uster uuid is not committed (#10832) * link previous cluster uuid to current cluster uuid even if current cluster uuid is not committed Signed-off-by: bansvaru <[email protected]> (cherry picked from commit 91ac084) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…uster uuid is not committed (#10832) (#10906) * link previous cluster uuid to current cluster uuid even if current cluster uuid is not committed (cherry picked from commit 91ac084) 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>
…uster uuid is not committed (opensearch-project#10832) * link previous cluster uuid to current cluster uuid even if current cluster uuid is not committed Signed-off-by: bansvaru <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Cluster chaining can break if there is consecutive node replace and restart
This change removes the check for
clusterUUIDCommitted
for current state when fetch previousClusterUUID from remote. But since we already have a check onclusterUUIDCommitted
while constructing cluster chain, we should be goodOpenSearch/server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java
Lines 829 to 833 in ef4b327
** It might be beneficial to make previousClusterUUID part of
Metadata
itself in future **Related Issues
Resolves #10841
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.