-
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
Remote Restore Cluster Metadata if local disk state lost after quorum loss recovery #10447
Remote Restore Cluster Metadata if local disk state lost after quorum loss recovery #10447
Conversation
Compatibility status:Checks if related components are compatible with change 6191d6b Incompatible componentsSkipped 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/sql.git, https://github.com/opensearch-project/job-scheduler.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/cross-cluster-replication.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:
|
Codecov Report
@@ Coverage Diff @@
## main #10447 +/- ##
============================================
- Coverage 71.12% 71.08% -0.05%
+ Complexity 58503 58432 -71
============================================
Files 4853 4853
Lines 275915 275696 -219
Branches 40153 40117 -36
============================================
- Hits 196256 195971 -285
- Misses 63247 63294 +47
- Partials 16412 16431 +19
|
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/recovery/RemoteStoreRestoreService.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/gateway/remote/RemoteClusterStateService.java
Outdated
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
16e47b2
to
bb3ffe3
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: bansvaru <[email protected]>
Gradle Check (Jenkins) Run Completed with:
|
org.opensearch.client.PitIT.testDeleteAllAndListAllPits Failing Test is flaky - #5030 |
56736be
into
opensearch-project:main
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-10447-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 56736be1adaa0c7e97d8db159ff6dca6f6814a9e
# Push it to GitHub
git push --set-upstream origin backport/backport-10447-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]> (cherry picked from commit 56736be)
…st after quorum… (#10742) * Remote Restore Cluster Metadata if local disk state lost after quorum loss (#10447) Signed-off-by: bansvaru <[email protected]> (cherry picked from commit 56736be)
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]>
… loss recovery (opensearch-project#10447) * Remote Restore Cluster Metadata if local disk state lost after quorum loss Signed-off-by: bansvaru <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Auto Restore
Metadata
from remote store if entire local disk state is lost.As part of 2.10 release we add support to auto restore IndexMetadata f entire local disk state is lost. Now we extend the support to entire
Metadata
objectRelated Issues
Resolves #10525
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.