I have a deployment with hot-warm architecture enabled. Below is the ILM policy being used.
PUT _ilm/policy/apm-rollover-30-days
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_size": "10gb",
"max_age": "1d"
},
"set_priority": {
"priority": 100
}
}
},
"warm": {
"min_age": "5d",
"actions": {
"allocate": {
"number_of_replicas": 1,
"include": {},
"exclude": {}
},
"readonly": {},
"set_priority": {
"priority": 50
},
"shrink": {
"number_of_shards": 1
}
}
}
}
}
}
new index is created everyday and I need to move index older than 5 days to the warm nodes. I can see that the index get rolled over and lifecycle phase have changed to warm.
But the below screenshot says the shards are still in the hot nodes.
Below is the disk usage of the Hot and warm nodes. only 19GB disk usage is there in warm instances and hot instances are still above 75%.
Can someone help me understand if there is anything that I am doing wrong?
Thanks in advance.