Add Changes in Snapshot Clone Flow for remote store interoperability.#7496
Merged
gbbafna merged 9 commits intoopensearch-project:mainfrom Jul 7, 2023
Merged
Add Changes in Snapshot Clone Flow for remote store interoperability.#7496gbbafna merged 9 commits intoopensearch-project:mainfrom
gbbafna merged 9 commits intoopensearch-project:mainfrom
Conversation
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
sohami
requested changes
May 18, 2023
Contributor
There was a problem hiding this comment.
Please add tests for successful and failure cases.
cloningwith combination of source and target snapshot being shallow vs full snapshot, each snapshot with mix of regular + remote store index.- Failure cases like after taking lock there is failure to write metadata file, or even failure after writing both the files, etc
server/src/main/java/org/opensearch/index/store/lockmanager/RemoteStoreMetadataLockManager.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/repositories/blobstore/BlobStoreRepository.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/snapshots/SnapshotsService.java
Outdated
Show resolved
Hide resolved
Bukhtawar
reviewed
May 18, 2023
server/src/main/java/org/opensearch/index/store/lockmanager/RemoteStoreLockManager.java
Show resolved
Hide resolved
Bukhtawar
reviewed
May 18, 2023
server/src/main/java/org/opensearch/repositories/Repository.java
Outdated
Show resolved
Hide resolved
Bukhtawar
reviewed
May 18, 2023
Contributor
Bukhtawar
left a comment
There was a problem hiding this comment.
Do we need thread safety for the LockManager interface, espl when we do cloning how do we know the lock is not released while getting cloned. I would recommend implement locks using a Releasable interface and add thread safety to the implementation
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
gbbafna
approved these changes
Jul 7, 2023
harishbhakuni
approved these changes
Jul 7, 2023
gbbafna
pushed a commit
that referenced
this pull request
Jul 7, 2023
vikasvb90
referenced
this pull request
in raghuvanshraj/OpenSearch
Jul 12, 2023
… (#7496) Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
dzane17
pushed a commit
to dzane17/OpenSearch
that referenced
this pull request
Jul 12, 2023
…opensearch-project#7496) Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
buddharajusahil
pushed a commit
to buddharajusahil/OpenSearch
that referenced
this pull request
Jul 18, 2023
…opensearch-project#7496) Signed-off-by: Bansi Kasundra <kasundra@amazon.com> Signed-off-by: sahil buddharaju <sahilbud@amazon.com>
baba-devv
pushed a commit
to baba-devv/OpenSearch
that referenced
this pull request
Jul 29, 2023
…opensearch-project#7496) Signed-off-by: Bansi Kasundra <kasundra@amazon.com>
shiv0408
pushed a commit
to Gaurav614/OpenSearch
that referenced
this pull request
Apr 25, 2024
…opensearch-project#7496) Signed-off-by: Bansi Kasundra <kasundra@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Changes in Clone Snapshot API required for Snapshot interoperability with Remote Store.
Related Issues
This change is dependent on Lock Manager changes and Create Snapshot API changes.
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.