MembershipChangeInProgressException

class MembershipChangeInProgressException(message: String = "a membership change is already in progress — wait for it to commit before starting another") : Exception

Thrown by RaftNode.changeMembership when a membership change is already in progress (a config entry is uncommitted).

The one-change-at-a-time rule is a liveness guard: it keeps the membership state machine trivial and prevents multiple joint configs from stacking. The caller should wait for the in-flight change to complete (or fail) before retrying.

Constructors

Link copied to clipboard
constructor(message: String = "a membership change is already in progress — wait for it to commit before starting another")

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?