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