Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISM Rollover didn't change min_size or min_primary_shard_size #1359

Open
eugenesotnikov opened this issue Jan 30, 2025 · 2 comments
Open

ISM Rollover didn't change min_size or min_primary_shard_size #1359

eugenesotnikov opened this issue Jan 30, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@eugenesotnikov
Copy link

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
}
}
}

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
}
]
}
}

@krisfreedain krisfreedain added bug Something isn't working and removed untriaged labels Feb 17, 2025
@krisfreedain
Copy link
Member

Catch All Triage - 1

@krisfreedain
Copy link
Member

@eugenesotnikov - can you open a thread on the forum for this? https://forum.opensearch.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants