-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 Store] Update shallow snapshot flows to support new path types and hash algorithm #12987
Comments
@peternied I will add more details and will prefer reopening the same issue. This is an increment step of the meta #12589 to achieve #12567. Let me know if you see any concern on account of reopening this issue. |
@ashking94 I'm not familiar with the feature area and it is not more approachable to me. I'd recommend moving into slightly different mindset while creating issues in open-source projects to careful describe the problem & why its worth while to addressing and then constraints on how it is addressed. Finally to provide context, it should be considered part of the appendix - not required reading. By coming from this perspective unfamiliar readers can onboard quickly and be better setup to review and provide feedback on the goals of the issue and related issues. |
Is your feature request related to a problem? Please describe
With optimised prefix pattern for remote store path (as mentioned in #12567), we need to ensure that we are able to allow indexes to use the optimised remote store path type and at the same time be able to resolve the existing prefix pattern (Fixed remote store path type) during snapshots and restores.
Describe the solution you'd like
We have updated Snapshots and it's restore after introducing shallow snapshots with remote store. Due to the changes in the blob store path for different type of data, it becomes important that we keep track of the same in shallow snapshot metadata since the snapshot can be restored outside of the life of an index (meaning that the cluster manager holds no information about the index itself). I propose the solution where we will update the shallow snapshot metadata file that will keep track of the remote store type and hash algorithm so that we can reuse this information during times of 1. restore 2. clone 3. cleaning up remote store data on account of snapshot deletion when there are no more lock files present for the same.
Related component
Storage:Performance
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: