Remote store restore optimization #16607
Remote store restore optimization #16607prayascoriolis wants to merge 6 commits intoopensearch-project:mainfrom
Conversation
| Map<String, RemoteSegmentStoreDirectory.UploadedSegmentMetadata> uploadedSegments = sourceRemoteDirectory | ||
| .getSegmentsUploadedToRemoteStore(); | ||
| // Checking for existing remote segments in remote | ||
| boolean hasPreexistingRemoteData = remoteDirectory != null && !remoteDirectory.getSegmentsUploadedToRemoteStore().isEmpty(); |
There was a problem hiding this comment.
Should we check if the uploaded data represents latest state?
There was a problem hiding this comment.
check latest state of uploaded data implemented
There was a problem hiding this comment.
But it is also possible that the remote directory only has a subset of segments present. Instead of 0 or 1, can we only upload segments that are missing?
…by: Prayas Kumar <prayas.kumar@coriolis.co.in>
|
❌ Gradle check result for 0bdc6af: 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 4a10493: 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? |
|
This PR is stalled because it has been open for 30 days with no activity. |
Description
Key changes made:
This solution:
Related Issues
Resolves #11044
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.