Class NotMasterException

All Implemented Interfaces:
Serializable, Writeable, ToXContent, ToXContentFragment

public class NotMasterException extends ElasticsearchException
Exception indicating that a cluster state update operation failed because the node stopped being the elected master. Since this exception is thrown prior to the cluster state publication, it should only be used when the cluster state update definitely did not happen, and there is no possibility the next master committed the cluster state update. This is different from FailedToCommitClusterStateException. This exception is retryable within TransportMasterNodeAction.
See Also: