Skipping cluster info refresh since it is disabled – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.1-7.11

Briefly, this error occurs when the Elasticsearch cluster info update service is disabled. This service is responsible for refreshing the cluster state, which includes information about indices, nodes, and other cluster settings. If it’s disabled, the cluster state won’t be updated, which could lead to outdated information and potential issues. To resolve this, you can enable the cluster info update service by setting the ‘cluster.info.update.interval’ setting to a positive value. Alternatively, you can manually refresh the cluster state using the ‘GET /_cluster/state’ API endpoint.

This guide will help you check for common problems that cause the log ” skipping cluster info refresh [{}] since it is disabled ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: refresh, cluster.

Log Context

Log “skipping cluster info refresh [{}] since it is disabled” classname is InternalClusterInfoService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        protected void doRun() {
            if (enabled) {
                logger.trace("refreshing cluster info [{}]"; reason);
                refresh();
            } else {
                logger.trace("skipping cluster info refresh [{}] since it is disabled"; reason);
            }
        }

        @Override
        public void onFailure(Exception e) {

 

 [ratemypost]