# ISM Rollover didn't change min\_size or min\_primary\_shard\_size

**URL:** <https://forum.opensearch.org/t/ism-rollover-didnt-change-min-size-or-min-primary-shard-size/23459>\
**Category:** Index Management\
**Created:** [February 20, 2025, 11:36am UTC](https://forum.opensearch.org/t/ism-rollover-didnt-change-min-size-or-min-primary-shard-size/23459 "2025-02-20T11:36:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![esotnikov](https://avatars.discourse-cdn.com/v4/letter/e/848f3c/32.png) [@esotnikov](https://forum.opensearch.org/u/esotnikov)\
**Post date:** [February 20, 2025, 11:36am UTC](https://forum.opensearch.org/t/ism-rollover-didnt-change-min-size-or-min-primary-shard-size/23459/1 "2025-02-20T11:36:22Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
2.18.0(was 2.11.0)

**Describe the issue** :  
I have a cluster 2.18.0 (was 2.11.0). And created simple ILM policy. And policy work only with action rollover by age. And didn’t work with min\_size or min\_primary\_shard\_size. I got “Pending rollover of index”. And min\_index\_age is updating every 5m. But other conditions didn’t.  
Manual rollover is work. I recreated policy. Update cluster from 2.11.0 to 2.18.0

{  
“message”: “Pending rollover of index [index=haproxy-000020]”,  
“conditions”: {  
“min\_primary\_shard\_size”: {  
“condition”: “20mb”,  
“current”: “449.1kb”,  
“shard”: 0  
},  
“min\_index\_age”: {  
“condition”: “1h”,  
“current”: “35.2m”,  
“creationDate”: 1738242827385  
}  
}  
}

**Configuration** :

ILM policy

{  
“id”: “haproxy\_policy”,  
“seqNo”: 8685576,  
“primaryTerm”: 9,  
“policy”: {  
“policy\_id”: “haproxy\_policy”,  
“description”: “A sample description of the policy”,  
“last\_updated\_time”: 1738239138610,  
“schema\_version”: 21,  
“error\_notification”: null,  
“default\_state”: “init\_state”,  
“states”: [  
{  
“name”: “init\_state”,  
“actions”: [  
{  
“retry”: {  
“count”: 3,  
“backoff”: “exponential”,  
“delay”: “1m”  
},  
“rollover”: {  
“min\_index\_age”: “1h”,  
“min\_primary\_shard\_size”: “20mb”,  
“copy\_alias”: false  
}  
}  
],  
“transitions”: [  
{  
“state\_name”: “delete”,  
“conditions”: {  
“min\_index\_age”: “7d”  
}  
}  
]  
},  
{  
“name”: “delete”,  
“actions”: [  
{  
“retry”: {  
“count”: 3,  
“backoff”: “exponential”,  
“delay”: “1m”  
},  
“delete”: {}  
}  
],  
“transitions”:   
}  
],  
“ism\_template”: [  
{  
“index\_patterns”: [  
“haproxy-\*”  
],  
“priority”: 10,  
“last\_updated\_time”: 1738222922062  
}  
]  
}  
}

**Relevant Logs or Screenshots** :

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [April 21, 2025, 11:36am UTC](https://forum.opensearch.org/t/ism-rollover-didnt-change-min-size-or-min-primary-shard-size/23459/2 "2025-04-21T11:36:46Z")

</div>

Closed on April 21, 2025, 11:36am UTC

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