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:
    RaftConfig.getMaxPendingLogEntryCount(), Serialized Form