ILM stuck waiting for snapshot while already executed #62581
Labels
>bug
:Data Management/ILM+SLM
Index and Snapshot lifecycle management
Team:Data Management
Meta label for data/management team
Elasticsearch version (
bin/elasticsearch --version
):7.8.0
Plugins installed: none (well, just xpack basic)
JVM version (
java -version
):OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)
OS version (
uname -a
if on a Unix-like system):Debian 10.1
Description of the problem including expected versus actual behavior:
I configured a snapshot policy called
monthly-export
that runs every first of the months at 5AM and targets all the indices of the previous months using the<*_{now/M-1M{yyyy.MM}}.*>
pattern. Snapshots are being executed without any failure.I then configured an ILM with a delete phase 7 days after the creation of my indices, conditioned with the
wait_for_snapshot
set to mymonthly-export
SLM.I would expect each 1st of the month to see all indices of the previous month from the first to the 23rd to be deleted according to the ILM.
Instead of that, they all stay in a status like
waiting for policy 'monthly-export' to be executed since Mon Aug 10 14:46:58 UTC 2020
Steps to reproduce:
Create a SLM with this body
Then this ILM:
wait for the first of next month and..... nothing happen; indices are not deleted :(
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: