Cluster shutdown done shutting down all nodes except master proceeding to master – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 1.7-1.7

Briefly, this error occurs when an Elasticsearch cluster is being shut down. It indicates that all nodes, except the master node, have been successfully shut down. This is a normal part of the shutdown process and not necessarily an error. However, if the shutdown was not intended, it could indicate an issue. To resolve this, you can restart the cluster if it was unintentionally shut down. If the shutdown was intentional but the master node is not shutting down, you can manually shut it down using the appropriate command or check for any issues preventing it from shutting down.

This guide will help you check for common problems that cause the log ” [cluster_shutdown]: done shutting down all nodes except master; proceeding to master ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: admin, cluster, master and node.

Log Context

Log “[cluster_shutdown]: done shutting down all nodes except master; proceeding to master” classname is TransportNodesShutdownAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                     try {
                        latch.await();
                    } catch (InterruptedException e) {
                        // ignore
                    }
                    logger.info("[cluster_shutdown]: done shutting down all nodes except master; proceeding to master");

                    // now; kill the master
                    logger.trace("[cluster_shutdown]: shutting down the master [{}]"; state.nodes().masterNode());
                    transportService.sendRequest(state.nodes().masterNode(); SHUTDOWN_NODE_ACTION_NAME; new NodeShutdownRequest(request); new EmptyTransportResponseHandler(ThreadPool.Names.SAME) {
                        
Override



 

 [ratemypost]