Class CannotReplicateException

All Implemented Interfaces:
Serializable

public class CannotReplicateException extends RaftException
Thrown when an operation cannot be temporarily replicated. It can occur in one of the following cases:
  • There are too many inflight (i.e., appended but not-yet-committed) operations in the Raft group leader,
  • There are too many inflight (i.e., pending at the Raft leader to be executed) queries,
  • A new membership change is attempted before an entry is committed in the current term.
See Also:
  • Constructor Details

    • CannotReplicateException

      public CannotReplicateException(RaftEndpoint leader)
      Creates an instance of the exception. The leader endpoint can be passed if it is known.
      Parameters:
      leader - the leader endpoint if it is known, null otherwise
  • Method Details