Reason

sealed interface Reason

Why a governed node's write gate is closed.

Inheritors

Types

Link copied to clipboard

This incarnation has not yet applied its own enroll(self). Normal for a moment after every boot; permanent if the consumer never enrolls, which is the mistake this type exists to make visible.

Link copied to clipboard

This peer applied its own depart() and has promised to author nothing more.

Link copied to clipboard
data class UnreadableControlEntry(val index: Long, val version: Int?) : GateClosed.Reason

This peer met a log entry it cannot read, at log index, and has stopped applying the log there. It no longer knows the true control state, so writing from what it does know could break conservation (issue #1738).