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 1448.8 0 1686 559/554 383/0 331/1 413/2 After: _elapsed__ops/sec___errors_replicas_________1_________2_________3_________4 5m0s 1413.7 0 1658 406/132 422/141 410/136 420/138 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
eee24c0
commit 316ed65
Showing
4 changed files
with
232 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
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