-
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] During index creation, upload path for tlog-data, tlog-md, segment-data and segment-md to fixed base path #12661
Comments
There are couple of options here for storing the paths for each shard of an index -
Option 2 does not assume anything about the underlying repository and hence is a better approach. We can further optimise if the underlying repository is same for segment and translog. We can create just one file with paths of all shards. |
I was considering
|
We have another option that is mentioned below. The reason this is good and preferred is because we are able to identify index creation or the migration usecase (document replication type to segment replication with remote store enabled).
|
Is your feature request related to a problem? Please describe
With optimised prefix pattern for remote store path (as mentioned in #12567), it becomes necessary to know the path of each shard of all indexes that have been created ever to ensure that we have capability to clean up any zombie data that can happen due to async deletion of remote data after snapshot deletion (after index deletion) or async deletion of translog data.
Describe the solution you'd like
The proposal is to upload the path for each combination of data and metadata files for translog and segment in a fixed path in remote store to be able to refer to all possible paths for a cluster.
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: