Package io.microraft.exception
package io.microraft.exception
-
ClassDescriptionThrown when an operation cannot be temporarily replicated.A Raft leader may demote to the follower role after it appends an entry to its local Raft log, but before discovering its commit status.Thrown when a Raft node's current commit index is smaller than the commit index specified in a
RaftNode.query(Object, QueryPolicy, Optional, Optional)
call.Thrown when a membership change is triggered with an expected group members commit index that doesn't match the current group members commit index in the local state of the Raft group leader.Thrown when an operation, query, or a membership change is triggered on a non-leader Raft node.Base exception class for Raft-related exceptions.