Skip to content
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

[Backport 2.x][Remote Store] Add support to remote restore IndexMetadata (#9086) #9862

Merged

Conversation

linuxpi
Copy link
Collaborator

@linuxpi linuxpi commented Sep 7, 2023

  • Add support to restore remote cluster state in RemoteStoreRestoreService

Signed-off-by: Varun Bansal [email protected]
(cherry picked from commit 81d2ae1)

Description

Backports #9086 to 2.x

Related Issues

NA

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

…h-project#9086)

* Add support to restore remote cluster state in RemoteStoreRestoreService

Signed-off-by: Varun Bansal <[email protected]>
(cherry picked from commit 81d2ae1)
@linuxpi linuxpi changed the title [Remote Store] Add support to remote restore IndexMetadata (#9086) [Backport 2.x][Remote Store] Add support to remote restore IndexMetadata (#9086) Sep 7, 2023
@linuxpi linuxpi marked this pull request as ready for review September 7, 2023 05:15
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Compatibility status:

Checks if related components are compatible with change 19de454

Incompatible components

Incompatible components: [https://github.com/opensearch-project/cross-cluster-replication.git]

Skipped components

Compatible components

Compatible 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/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/security-analytics.git]

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #9862 (19de454) into 2.x (95025f8) will decrease coverage by 0.02%.
Report is 1 commits behind head on 2.x.
The diff coverage is 38.63%.

@@             Coverage Diff              @@
##                2.x    #9862      +/-   ##
============================================
- Coverage     70.82%   70.81%   -0.02%     
- Complexity    58150    58182      +32     
============================================
  Files          4816     4816              
  Lines        274923   275051     +128     
  Branches      40412    40428      +16     
============================================
+ Hits         194727   194772      +45     
- Misses        63500    63625     +125     
+ Partials      16696    16654      -42     
Files Changed Coverage Δ
...arch/index/recovery/RemoteStoreRestoreService.java 6.76% <4.09%> (-1.71%) ⬇️
.../opensearch/cluster/routing/IndexRoutingTable.java 76.56% <60.00%> (+2.24%) ⬆️
...arch/gateway/remote/RemoteClusterStateService.java 78.67% <79.71%> (-2.37%) ⬇️
...epositories/blobstore/ChecksumBlobStoreFormat.java 94.91% <88.23%> (-2.71%) ⬇️
...a/org/opensearch/cluster/routing/RoutingTable.java 94.82% <100.00%> (ø)
...on/blobstore/transfer/RemoteTransferContainer.java 66.66% <100.00%> (+1.87%) ⬆️
...va/org/opensearch/index/store/RemoteDirectory.java 77.66% <100.00%> (-0.64%) ⬇️
server/src/main/java/org/opensearch/node/Node.java 85.75% <100.00%> (ø)

... and 488 files with indirect coverage changes

@sachinpkale sachinpkale merged commit f07992e into opensearch-project:2.x Sep 7, 2023
@linuxpi linuxpi deleted the backport/backport-9086-to-2.x branch September 7, 2023 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants