Runtime parameters
KVDB runtime options
The following table provides the internal KVDB runtime options that can be used to customize the KVDB database during its runtime.
Parameter | Description | Default value |
---|---|---|
kvdb- heartbeat- interval | Specifies the frequency in milliseconds at which each KVDB node will send heartbeats to its peers. | 250 ms |
kvdb- election- timeout | Specifies the timeout for leader election in milliseconds. | 1000 ms. By default, Portworx will set the election timeout to 5 times the heartbeat interval. |
kvdb- snap- count | Specifies the number of committed transactions to trigger a snapshot to disk. | 10000 |
kvdb- debug- mode | Specifies the debug mode for KVDB debug logs. | 1 (enabled by default) |
kvdb- pre- vote | Runs the pre-vote election algorithm when a node rejoins. If enabled, it avoids cluster disruptions caused by leader elections when a new node joins. | 1 (enabled by default) |