Log Cluster_shutdown done shutting down all nodes except master. proceeding to master – How To Solve Related Issues

Log Cluster_shutdown done shutting down all nodes except master. proceeding to master – How To Solve Related Issues

Updated: Feb-20

Elasticsearch Version: 1.7-8.0

Background

To resolve issues causing many log errors you can try our Elasticsearch Check-Up it analyses ES configuration to provide actionable recommendations (no installation required) 


To troubleshoot log “Cluster_shutdown done shutting down all nodes except master. proceeding to master” it’s important to understand a few problems related to Elasticsearch concepts admin, cluster, master, node. See bellow important tips and explanations on these concepts

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



Related issues to this log

We have gathered selected Q&A from the community and issues from Github, that can help fix related issues please review the following for further information :

 

   

 

About Opster

Opster detects, resolves, optimizes, automates and prevents incidents in Elasticsearch. Opster’s line of products delivers a fundamentally more effective Elasticsearch operation and backs it up with superb production support and consulting.

Find Configuration Errors

Analyze Now