Skip to content

Snapshot deletion and creation slow down as number of snapshots in repository grows #8958

Closed
@imotov

Description

@imotov

In order to create a new snapshot or delete an existing snapshot, elasticsearch has to load all existing shard level snapshots to figure out which files need to be copied and which files can be cleaned. The number of files to be checked is equal to number_of_shards * number_of_snapshots, which on a large clusters and frequent snapshots can lead to very long operation times especially with non-filesystem repositories. See elastic/elasticsearch-cloud-aws#150 and this group post for examples of issues that this behavior is causing.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions