Skip to content

[Snapshot V2] Add support for remote store files cleanup #15466

@anshu1106

Description

@anshu1106

Is your feature request related to a problem? Please describe

As part of shallow snapshot delete flow, we need to handle deletion of remote store files for deleted indices.

Describe the solution you'd like

There is a logic in place to handle deletion of remote store files for indices that have been deleted but are part of the snapshot. The existing logic looks at snapshot shard metadata file to figure out the remote store path strategy and algorithm for deletion. Since snapshot v2 is not writing per shard snapshot metadata file in the snapshot repo, it needs to get the path from index metadata.

Related component

Storage:Snapshots

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Storage:SnapshotsenhancementEnhancement or improvement to existing feature or request

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions