Hello,
Currently working on reindexing an old index with a massive 170ishGB single primary shard into a new datastream index, with an ILM policy of 30GB/30D.
We configured for 8 primary, 1 replica, but currently the rollover from ILM policy settings doesn't seem to be taking effect as the reindex is running, but it's still on the initial index:
".ds-xxxxx-2024.09.19-000001"
Primary storage size 117.48gb
The primary storage should cap at our 30GB and process a rollover.
The question I have is does a rollover not occur until a reindex has completed first? I would have thought the rollover would actively take place even during a reindex. I am also unsure about the below, if that's indicating it's in the process of doing rollover, but needs to wait until the reindex has completed first.
Running GET /_ilm/explain:
"indices": {
".ds-xxxxx-2024.09.19-000001": {
"index": ".ds-xxxxx-2024.09.19-000001",
"managed": true,
"policy": "xx-365d",
"index_creation_date_millis": 1726728910258,
"time_since_index_creation": "12.54h",
"lifecycle_date_millis": 1726728910258,
"age": "12.54h",
"phase": "hot",
"phase_time_millis": 1726728911592,
"action": "rollover",
"action_time_millis": 1726728911792,
"step": "check-rollover-ready",
"step_time_millis": 1726728911792,
"phase_execution": {
"policy": "xx-365d",
"phase_definition": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_age": "30d",
"max_primary_shard_size": "30gb"
}
}
},
"version": 1,
"modified_date_in_millis": 1725406131184
}
Thanks in advance!