Module agreed::config [−][src]
Expand description
Raft runtime configuration.
Structs
Config | The runtime configuration for a Raft node. |
ConfigBuilder | A configuration builder to ensure that runtime config is valid. |
Enums
CatchUpCancellationPolicy | Policy governing when to cancel a node catch up process. |
SnapshotPolicy | Log compaction and snapshot policy. |
Constants
DEFAULT_CATCH_UP_TIMEOUT_MILLISECONDS | Default timeout to wait before terminating a configuration change catch-up process. |
DEFAULT_ELECTION_TIMEOUT_MAX | Default election timeout maximum, in milliseconds. |
DEFAULT_ELECTION_TIMEOUT_MIN | Default election timeout minimum, in milliseconds. |
DEFAULT_HEARTBEAT_INTERVAL | Default heartbeat interval. |
DEFAULT_LOGS_SINCE_LAST | Default threshold for when to trigger a snapshot. |
DEFAULT_MAX_PAYLOAD_ENTRIES | Default maximum number of entries per replication payload. |
DEFAULT_REPLICATION_LAG_THRESHOLD | Default replication lag threshold. |
DEFAULT_SNAPSHOT_CHUNKSIZE | Default snapshot chunksize. |