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: add Allocator.TransferLease{Source,Target}
Before (`allocsim -n 4 -w 4`): _elapsed__ops/sec___errors_replicas_________1_________2_________3_________4 5m0s 1472.5 0 2124 704/687 492/0 522/0 406/0 After: _elapsed__ops/sec___errors_replicas_________1_________2_________3_________4 5m0s 1506.7 0 2157 520/183 548/180 547/166 542/180 I do see a little bit of thrashiness with the lease-transfer heuristics, though it settles down relatively quickly so I'm not sure if it is worth addressing yet. Depends on cockroachdb#10420
- Loading branch information
1 parent
e17cad3
commit 1844549
Showing
5 changed files
with
262 additions
and
41 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
Oops, something went wrong.