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
Thrown when a cluster state publication fails to commit the new cluster state. If publication fails then a new master is elected but the update might or might not take effect, depending on whether the newly-elected master accepted the published state that failed to be committed. This exception should only be used when there is ambiguity whether a state update took effect or not. This is different from NotMasterException where we know for certain that a state update never took effect. This exception is retryable within 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)