Class FailedToCommitClusterStateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticsearchException
org.elasticsearch.cluster.coordination.FailedToCommitClusterStateException
All Implemented Interfaces:
Serializable, Writeable, ToXContent, ToXContentFragment

public class FailedToCommitClusterStateException extends ElasticsearchException
Exception indicating a cluster state update was published and may or may not have been committed.

If this exception is thrown, then the cluster state update was published, but is not guaranteed to be committed, including the next master node. This exception should only be thrown when there is ambiguity whether a cluster state update has been committed.

For exceptions thrown prior to publication, when the cluster update has definitely failed, use a different exception.

If during a cluster state update the node is no longer master, use a NotMasterException

This is a retryable exception inside TransportMasterNodeAction

See ClusterStatePublisher for more details.

See Also:
  • Constructor Details

    • FailedToCommitClusterStateException

      public FailedToCommitClusterStateException(StreamInput in) throws IOException
      Throws:
      IOException
    • FailedToCommitClusterStateException

      public FailedToCommitClusterStateException(String msg, Object... args)
    • FailedToCommitClusterStateException

      public FailedToCommitClusterStateException(String msg, Throwable cause, Object... args)