-
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
Retry remote state download while bootstrap #15950
Retry remote state download while bootstrap #15950
Conversation
❌ Gradle check result for 3e02411: 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? |
Signed-off-by: Sooraj Sinha <[email protected]>
3e02411
to
8f79550
Compare
❕ Gradle check result for 8f79550: 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15950 +/- ##
============================================
- Coverage 71.90% 71.68% -0.23%
+ Complexity 64216 64112 -104
============================================
Files 5272 5277 +5
Lines 300597 300708 +111
Branches 43440 43451 +11
============================================
- Hits 216151 215567 -584
- Misses 66680 67385 +705
+ Partials 17766 17756 -10 ☔ View full report in Codecov by Sentry. |
server/src/main/java/org/opensearch/gateway/GatewayMetaState.java
Outdated
Show resolved
Hide resolved
...rc/internalClusterTest/java/org/opensearch/remotestore/RemoteStoreClusterStateRestoreIT.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Sooraj Sinha <[email protected]>
12dadcf
into
opensearch-project:main
* Retry remote state download while bootstrap Signed-off-by: Sooraj Sinha <[email protected]> (cherry picked from commit 12dadcf) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Retry remote state download while bootstrap (cherry picked from commit 12dadcf) Signed-off-by: Sooraj Sinha <[email protected]>
* Retry remote state download while bootstrap Signed-off-by: Sooraj Sinha <[email protected]>
* Retry remote state download while bootstrap Signed-off-by: Sooraj Sinha <[email protected]>
* Retry remote state download while bootstrap Signed-off-by: Sooraj Sinha <[email protected]>
* Retry remote state download while bootstrap Signed-off-by: Sooraj Sinha <[email protected]>
Description
When a remote state enabled cluster manager node boots-up, it tries to download the remote state. But if there some issue while downloading like file not present then the download fails with an exception. The OpenSearch process stays active but unresponsive. This PR addresses this by:
Error
so that process exists and a new process is spawned.Related Issues
NA
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.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.