Briefly, this error occurs when the Index Lifecycle Management (ILM) operation mode in Elasticsearch is updated. This could be due to a manual change or an automatic update triggered by certain conditions. The ILM operation mode controls how ILM policies are executed. To resolve this issue, you can check the current ILM operation mode and ensure it’s set to the desired state. If it’s not, you can manually update it. Also, ensure that the conditions triggering automatic updates are properly configured.
This guide will help you check for common problems that cause the log ” ILM operation mode updated to {} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “ILM operation mode updated to {}” classname is OperationModeUpdateTask.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
} @Override public void clusterStateProcessed(ClusterState oldState; ClusterState newState) { if (ilmMode != null) { logger.info("ILM operation mode updated to {}"; ilmMode); } if (slmMode != null) { logger.info("SLM operation mode updated to {}"; slmMode); } }