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.
replica_rac2: fix is leader v2 protocol when leader
The `Processor` calls `isLeaderUsingV2ProcLocked` to determine which store work queue admit method to call, opting for the v1 method if `isLeaderUsingV2ProcLocked` returns false. Update `isLeaderUsingV2ProcLocked` to correctly return false when the local replica is the leader and running v1, having previously seen a leader running v2. Part of: cockroachdb#130431 Release note: None
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 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