Recovered

data class Recovered(val peerId: PeerId, val at: Instant) : MembershipEvent

A partitioned peer's link recovered before the window expired.

The member's Liveness transitions back to Liveness.Connected. Driven by us.tractat.kuilt.session.partition.PartitionEvent.PeerRecovered, or on a member other than the host by the host's announcement that the peer is back. That announcement covers a partitioned peer whose return the host restored, so those members see this event where the host and the returning peer see Resumed.

Never the answer to a joiner's Hello. A joiner whose host link tore says Hello again, and the host's answer ends that arc with Resumed (its seat came back) or Readmitted (the seat was gone and the host admitted it afresh), or the window ends it with HostLost — never with Recovered(host), since a returning joiner does not know whether it came back inside the host's window until the host's answer says so (#3615). A heartbeat partition that heals with no tear is different: the joiner says no Hello, nothing answers one, and the arc still ends in Recovered(host).

Constructors

Link copied to clipboard
constructor(peerId: PeerId, at: Instant)

Properties

Link copied to clipboard
val at: Instant
Link copied to clipboard