Logo FsShelter

ClusterConfig Type

Parsed cluster config, derived from `FsShelter.Conf` at startup so the Cluster modules never reach back into the Conf map at runtime.

Record fields

Record Field Description

HeartbeatMs

Full Usage: HeartbeatMs

Field type: int
Field type: int

Listen

Full Usage: Listen

Field type: PeerEndpoint
Field type: PeerEndpoint

MaxFrameBytes

Full Usage: MaxFrameBytes

Field type: int

Maximum single-frame size on the wire.

Field type: int

Quorum

Full Usage: Quorum

Field type: int

Majority threshold; default ⌊|Seeds|/2⌋+1.

Field type: int

Seeds

Full Usage: Seeds

Field type: PeerEndpoint list
Field type: PeerEndpoint list

SendQueueBound

Full Usage: SendQueueBound

Field type: int

Per-peer outbound queue bound (drops oldest on overflow).

Field type: int

StabilizeMs

Full Usage: StabilizeMs

Field type: int

Post-election debounce before a would-be master activates.

Field type: int

StateDir

Full Usage: StateDir

Field type: string

Directory for `peer-id.dat` and `peers.dat`.

Field type: string

SuspectTimeoutMs

Full Usage: SuspectTimeoutMs

Field type: int
Field type: int

Type something to start searching.