forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: limit the bandwidth used for snapshots
Limit the bandwidth used for snapshots. Preemptive snapshots are throttled to 2 MB/sec (COCKROACH_PREEMPTIVE_SNAPSHOT_RATE) and Raft snapshots are throttled to 8 MB/sec (COCKROACH_RAFT_SNAPSHOT_RATE). The effect of limiting the bandwidth is that a preemptive snapshot for a 64 MB range will take ~32s to send and a Raft snapshot will take ~8s. The benefit is a much smaller impact on foreground traffic. Fixes cockroachdb#10972
- Loading branch information
1 parent
b185d50
commit be834a3
Showing
3 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Submodule vendor
updated
15 files