-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: add new kv.transaction.write_pipelining_max_batch_size setting
This commit adds a new `kv.transaction.write_pipelining_max_batch_size` setting which can be used to bound the number of writes we permit in a batch that uses async consensus. This is useful because we'll have to resolve each write that uses async consensus using a QueryIntent, so there's a point where it makes more sense to just perform consensus for the entire batch synchronously and avoid all of the overhead of pipelining. This crossover point is hard to determine experimentally and depends on a lot of factors. It's better just to provide this as an option. Release note: None
- Loading branch information
1 parent
b9b7de1
commit 11ca84e
Showing
5 changed files
with
123 additions
and
16 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
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