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

Opster Team

Aug-23, Version: 1-2.9

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your OpenSearch operation.

Briefly, this error occurs when the cluster info update process in OpenSearch is disabled. This process is responsible for refreshing the cluster state, including information about indices, nodes, and other cluster settings. If it’s disabled, the cluster state may become outdated, leading to potential issues. To resolve this, you can enable the cluster info update process by setting the ‘cluster.info.update.interval’ parameter to a positive value. Alternatively, you can manually refresh the cluster info using the ‘cluster:admin/cluster/refresh’ API. However, be cautious as frequent updates can impact performance.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

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 OpenSearch concepts: refresh, cluster.

Log Context

Log “skipping cluster info refresh [{}] since it is disabled” classname is InternalClusterInfoService.java.
We extracted the following from OpenSearch 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) {

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Get expert answers on Elasticsearch/OpenSearch