Ilm is creating an infinite initial index of {index_name}-000001

I would like to ask an ILM related issue.

  • The index is being deleted with ilm and it is working, but from a certain moment, the initial 0000001 index is created in the indices that are suddenly well rolled over, and there is only an empty index while ilm keeps creating new indexes.

[Probable cause of the problem]

  • no rollover info found for [my-index-000001] with alias [my-alias] ” The number of problematic indices is increasing, all of them have doc count 0, and there are higher numbered indices that are being rolled over
java.lang.IllegalStateException: no rollover info found for [index-000001] with rollover target [index], the index has not yet rolled over with that target
	at org.elasticsearch.xpack.core.ilm.UpdateRolloverLifecycleDateStep.performAction(
	at org.elasticsearch.xpack.ilm.ExecuteStepsUpdateTask.execute(
	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(
	at org.elasticsearch.cluster.service.MasterService.executeTasks(
	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(
	at org.elasticsearch.cluster.service.MasterService.runTasks(
	at org.elasticsearch.cluster.service.MasterService.access$000(
	at org.elasticsearch.cluster.service.MasterService$
	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(
	at org.elasticsearch.cluster.service.TaskBatcher$
	at org.elasticsearch.common.util.concurrent.ThreadContext$
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/
  • If there is a cluster failure or a problem with the node, there is a problem that RolloverInfo, one of the index metadata, cannot be received.
  • If the index template is not created or the alias does not work, there is a problem that the RolloverInfo cannot be received if there is a problem with the running task.

[How I tried to solve it]

  • Forcefully set ILM step to set-indexing-complete -> Enter delete phase the next time you run ILM and it will be deleted. -> The corresponding index is created again when inspecting ilm
  • Forced ILM step to delete -> Deleted immediately. -> The corresponding index is created again when inspecting ilm
  • Forced index to be deleted -> The corresponding index is created again when inspecting ilm

my elastic version is 7.13.3. Has anyone experienced this issue?

index template:

   "index": {
     "lifecycle": {
       "name": "logstash-policy",
       "rollover_alias": "test-index
     "number_of_shards": "1"

I made sure it wasn't fixed.

I just checked and the 000001 made by ILM is

   "aliases" : {
       "test-index" : { }

it is like this,

Other normal indices are

   "aliases" : {
       "test-index" : {
"is_write_index" : false

   "aliases" : {
       "test-index" : {
"is_write_index" : true

This is how it is.
But write_index doesn't seem to have any effect. After updating that option , delete also found the same symptom.

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