Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 1.17 KB

File metadata and controls

14 lines (9 loc) · 1.17 KB

SwarmSpecRaft

Properties

Name Type Description Notes
snapshotInterval kotlin.Int The number of log entries between snapshots. [optional]
keepOldSnapshots kotlin.Int The number of snapshots to keep beyond the current snapshot. [optional]
logEntriesForSlowFollowers kotlin.Int The number of log entries to keep around to sync up slow followers after a snapshot is created. [optional]
electionTick kotlin.Int The number of ticks that a follower will wait for a message from the leader before becoming a candidate and starting an election. `ElectionTick` must be greater than `HeartbeatTick`. A tick currently defaults to one second, so these translate directly to seconds currently, but this is NOT guaranteed. [optional]
heartbeatTick kotlin.Int The number of ticks between heartbeats. Every HeartbeatTick ticks, the leader will send a heartbeat to the followers. A tick currently defaults to one second, so these translate directly to seconds currently, but this is NOT guaranteed. [optional]