7.16.2 - ILM - max primary shard size not working

My ILM policy has a max shard size of 50gb but my indexes are growing to 100gb+, I must have missed something, help required please


can you ensure that ILM is up and running via Get index lifecycle management status API | Elasticsearch Guide [8.1] | Elastic?

You can also use the ILM Explain API to get some more details for the index that should have been rolled over, maybe that helps to take a closer look. See Explain lifecycle API | Elasticsearch Guide [8.1] | Elastic


What are your index shard and replica settings? A 1 shard, 1 replica index will grow to 100G, 2 50G shards.

Later versions may have both shard size and index size, I think I noticed index size as an option, but since I didn't need to research it, I didn't give it any thought.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.