UnreadableControlEntry

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).

This is a latch. Nothing in this process clears it: enroll is refused, and a restart replays the same log to the same entry and closes again. Recovery is a build that can read the entry, or starting the group on a fresh log. There is no migrator.

Constructors

Link copied to clipboard
constructor(index: Long, version: Int?)

Properties

Link copied to clipboard
val index: Long

the log index of the entry.

Link copied to clipboard
val version: Int?

the format the entry's header names: 0 if it has no header, which covers both an act from before the control log carried one and bytes heddle never wrote, or null if it was cut off before its version byte.