Hi there,
I have an ILM configured with the following settings
PUT _ilm/policy/cwl-abc-policy
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_primary_shard_size": "50gb",
"max_age": "1d"
},
"set_priority": {
"priority": 100
}
}
},
"delete": {
"min_age": "7d",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
}
}
{
"indices" : {
"cwl-abc-2022.08.15-0001" : {
"index" : "cwl-abc-2022.08.15-0001",
"managed" : true,
"policy" : "cwl-abc-policy",
"lifecycle_date_millis" : 1660603797413,
"age" : "62.28d",
"phase" : "hot",
"phase_time_millis" : 1665984792182,
"action" : "rollover",
"action_time_millis" : 1660603797881,
"step" : "check-rollover-ready",
"step_time_millis" : 1665984792182,
"is_auto_retryable_error" : true,
"failed_step_retry_count" : 4456,
"phase_execution" : {
"policy" : "cwl-abc-policy",
"phase_definition" : {
"min_age" : "0ms",
"actions" : {
"set_priority" : {
"priority" : 100
},
"rollover" : {
"max_primary_shard_size" : "50gb",
"max_age" : "1d"
}
}
},
"version" : 2,
"modified_date_in_millis" : 1657711348302
}
}
}
}
The indexes are not being deleted though, here is a sample of an index that still shows up. The age is 62 days.
Is there something I am missing in my setup perhaps?
Thanks