I put down here in the below JSON the last 4 created indexes information, pay attention to the creation date field, I converted the millis for a more legible date and time in the comments.
{
"indexname-000392": {
"aliases" : {
"indexname" : {
"is_write_index" : false
}
},
"settings" : {
"index" : {
"lifecycle" : {
"name" : "indexname_ilm_policy",
"rollover_alias" : "indexname",
"indexing_complete" : "true"
},
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_warm,data_hot"
}
}
},
"refresh_interval" : "30s",
"number_of_shards" : "1",
"provided_name" : "indexname-000392",
"creation_date" : "1702017703384", //Fri 8 December 2023 03:41:43
"priority" : "50",
"number_of_replicas" : "2",
"uuid" : "9Ehm_Pb3SHO3m6sjvDYtzA",
"version" : {
"created" : "7150299"
}
}
}
},
"indexname-000393" : { // Here I did the manual rollover at Fri 8 December 2023 12:30:15
"aliases" : {
"indexname" : {
"is_write_index" : false
}
},
"settings" : {
"index" : {
"lifecycle" : {
"name" : "indexname_ilm_policy",
"rollover_alias" : "indexname",
"indexing_complete" : "true"
},
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_warm,data_hot"
}
}
},
"refresh_interval" : "30s",
"number_of_shards" : "1",
"provided_name" : "indexname-000393",
"creation_date" : "1702049415650", // Fri 8 December 2023 12:30:15
"priority" : "50",
"number_of_replicas" : "2",
"uuid" : "oKY9uR0LSNKdny_8QB-_Ng",
"version" : {
"created" : "7150299"
}
}
}
}, // Obs: No index created at 9 and 10 of December due to QA environment shutdown on weekend
"indexname-000394" : {
"aliases" : {
"indexname" : {
"is_write_index" : false
}
},
"settings" : {
"index" : {
"lifecycle" : {
"name" : "indexname_ilm_policy",
"rollover_alias" : "indexname",
"indexing_complete" : "true"
},
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"refresh_interval" : "30s",
"number_of_shards" : "1",
"provided_name" : "indexname-000394",
"creation_date" : "1702275102493", // Mon 11 December 2023 03:11:42
"priority" : "100",
"number_of_replicas" : "2",
"uuid" : "AhAyHrwORtOgyPuLiSFdfg",
"version" : {
"created" : "7150299"
}
}
}
},
"indexname-000395" : {
"aliases" : {
"indexname" : {
"is_write_index" : true
}
},
"settings" : {
"index" : {
"lifecycle" : {
"name" : "indexname_ilm_policy",
"rollover_alias" : "indexname"
},
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_content"
}
}
},
"refresh_interval" : "30s",
"number_of_shards" : "1",
"provided_name" : "indexname-000395",
"creation_date" : "1702362094936", // Tue 12 December 2023 03:21:34
"priority" : "100",
"number_of_replicas" : "2",
"uuid" : "O7nCyOtjSkSI4EHU1dv9MA",
"version" : {
"created" : "7150299"
}
}
}
}
}
I suspect that the manually created index: indexname-000393 doesn't have the minimum age of 1 day from the warm phase to rollover and then the ILM policy rollover the indexname-000392 which already has this age.
What you think?