Class CoordinationStateRejectedException

  • All Implemented Interfaces:, Writeable, ToXContent, 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 Detail

      • CoordinationStateRejectedException

        public CoordinationStateRejectedException​(java.lang.String msg,
                                                  java.lang.Object... args)
      • CoordinationStateRejectedException

        public CoordinationStateRejectedException​(StreamInput in)