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.
kvserver: remove ProposeEmptyCommand
We should no longer need it. Also, it introduces the complication of "empty but ID'ed raft commands", which is annoying. We could probably change this to propose a truly `nil` command (mimicking what raft does internally) but it is better to avoid this problem altogether. If there truly is a case in which we need to nudge raft, it likely also exists outside of the `splitDelayHelper`, and the sooner we find out about it the better. Extracted from cockroachdb#76126. Release note: None
- Loading branch information
Showing
2 changed files
with
2 additions
and
36 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