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.
storageccl: rate limit the WriteBatch command
Many of our RESTORE stability problems seem to be starting with overloaded disks, which caused contention in RocksDB, which slowed down heartbeats, which caused mass lease transfers. WriteBatch and the resuting write amplification is the largest part of this, so add a rate limit directly for that. The WriteBatch limiting also lets us be less conservative about the client-side Import request limiting in Restore. For cockroachdb#15341.
- Loading branch information
Showing
3 changed files
with
59 additions
and
17 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
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