-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Apply cluster state metadata and routing table diff when building clu… #18256
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
Apply cluster state metadata and routing table diff when building clu… #18256
Conversation
❌ Gradle check result for 5a3a33c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for dbf86de: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
…ster state from remote Signed-off-by: Swetha Guptha <[email protected]>
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.
Looks good!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18256 +/- ##
============================================
+ Coverage 72.48% 72.51% +0.02%
- Complexity 67357 67364 +7
============================================
Files 5488 5488
Lines 311023 311030 +7
Branches 45217 45216 -1
============================================
+ Hits 225444 225534 +90
+ Misses 67282 67107 -175
- Partials 18297 18389 +92 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: shwetathareja <[email protected]>
❕ Gradle check result for c71a586: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Flaky test #14299 |
a7b3d97
into
opensearch-project:main
…ster state from remote (opensearch-project#18256) Signed-off-by: Swetha Guptha <[email protected]>
…ster state from remote (opensearch-project#18256) Signed-off-by: Swetha Guptha <[email protected]>Signed-off-by: TJ Neuenfeldt <[email protected]>
…ster state from remote (opensearch-project#18256) Signed-off-by: Swetha Guptha <[email protected]>
…ster state from remote
Description
As part of this change the diff remote state download will handle the deleted indices metadata and routing table before building the updated cluster state from the entities read from the remote. Without this, request to create alias with name same as the index being deleted in the same request fails due to error
java.lang.IllegalStateException: index, alias, and data stream names need to be unique, but the following duplicates were found [index-2 (alias of [index-1/cf4980a322bac991a0ee6]) conflicts with index]
in diff download flow.Related Issues
Resolves #18045
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.