-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Raft election, lease intervals, etc. (#16789)
Fixes DOC-6375, DOC-7125 Summary of changes: - Update 'Distribution Layer' page with updated network timeout and mention the `COCKROACH_NETWORK_TIMEOUT` env var that controls it - Update 'Replication Layer' page with: - A table listing all of the relevant intervals, their values, and how they can controlled (if possible) - More links to the table wherever the values in that table are referred to - Finally, all of the intervals and other constants are stored in variables so their values can be referenced and updated in one place going forward
- Loading branch information
1 parent
44fd97a
commit f1ec99a
Showing
5 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
cockroach_range_lease_duration: 6s | ||
cockroach_range_lease_acquisition_timeout: 4s | ||
|
||
cockroach_network_timeout: 2s | ||
cockroach_network_connection_timeout: 4s | ||
|
||
cockroach_network_client_ping_interval: 1s | ||
cockroach_network_client_ping_timeout: 6s | ||
|
||
cockroach_raft_election_timeout_ticks: 4 | ||
cockroach_raft_reproposal_timeout_ticks: 6 | ||
|
||
cockroach_raft_tick_interval: 500ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters