elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.47k stars 8.04k forks source link

[Snapshot/Restore] UI marks snapshot as "not deletable" falsely #153107

Open rsdrakh opened 1 year ago

rsdrakh commented 1 year ago

Kibana version: 8.6.2 Elasticsearch version: 8.6.2 Server OS version: ESS

Describe the bug: I try to delete a snapshot that was created by an ILM policy to be used as "searchable snapshot". To find it in the snapshot 2023-03-10 15_20_28-Window list, I filter for a part of the index name. Now in the list that is presented to me, the top hit of the snapshots found has its checkbox greyed out, because "the latest successful snapshot of a snapshot policy cannot be deleted". While this is true for regular cluster snapshots, it is not true for searchable snapshot snapshots. The snapshot can still be deleted by opening the snapshot details and clicking the Delete button in there.

Steps to reproduce:

  1. Have searchable snapshots enabled
  2. In the Snapshot UI, search the snapshot list for one of these snapshots
  3. see the box of the top hit in grey

Expected behavior: All of these snapshots should be deletable from the result list

ElenaStoeva commented 8 months ago

This issue is currently blocked as it depends on an enhancement from the Es side: https://github.com/elastic/elasticsearch/issues/97446