elastic/kibana

Cleanup old migration backup indices

Open

#135.721 aberto em 5 de jul. de 2022

Ver no GitHub
 (4 comments) (3 reactions) (0 assignees)TypeScript (8.021 forks)batch import
Feature:MigrationsTeam:Coregood first issue

Métricas do repositório

Stars
 (19.065 stars)
Métricas de merge de PR
 (Mesclagem média 1d 16h) (999 fundiu PRs em 30d)

Description

Upon upgrading Kibana, migrations will create a new index for every new version. Old indices are kept indefinitely. Because these "backup" indices are system indices users should not have to manually clean them up.

Although our documentation has recommended since 7.12+ that users only rollback using snapshots and don't rely on these backup indices, some users might still assume these can replace a snapshot for rollback purposes.

As a result we should probably not remove backup indices until 8.x but introduce a configuration option that defaults to keeping one version's backup indices.

Related to https://github.com/elastic/kibana/issues/126672

Guia do colaborador