Publishing failed while starting – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 8.9-8.9

Briefly, this error occurs when Elasticsearch encounters issues while trying to publish cluster state updates. This could be due to network issues, node failures, or configuration problems. To resolve this, you can check the network connectivity between nodes, ensure all nodes are running compatible Elasticsearch versions, and verify your cluster settings. If the issue persists, consider increasing the ‘discovery.zen.publish_timeout’ setting to allow more time for publishing.

This guide will help you check for common problems that cause the log ” publishing failed while starting ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: cluster.

Log Context

Log “publishing failed while starting” class name is Coordinator.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 + clusterStatePublicationEvent.getSummary()
 + "]";
 e
 );
 becomeCandidate("publication creation");
 throw new FailedToCommitClusterStateException("publishing failed while starting"; e);
 }  try {
 final var publication = new CoordinatorPublication(
 clusterStatePublicationEvent;

 

 [ratemypost]