Class CoordinationStateRejectedException

All Implemented Interfaces:
Serializable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class CoordinationStateRejectedException extends ElasticsearchException
This exception is thrown when rejecting state transitions on the CoordinationState object, for example when receiving a publish request with the wrong term or version. Occurrences of this exception don't always signal failures, but can often be just caused by the asynchronous, distributed nature of the system. They will, for example, naturally happen during leader election, if multiple nodes are trying to become leader at the same time.
See Also:
Serialized Form
  • Constructor Details

    • CoordinationStateRejectedException

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

      public CoordinationStateRejectedException(StreamInput in) throws IOException
      Throws:
      IOException