Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: don't try to reject lease transfer when flushing proposal buffer
Fixes cockroachdb#83498. Fixes cockroachdb#83402. Fixes cockroachdb#83308. This was fallout from cockroachdb#82758. This commit adds logic to `propBuf.maybeRejectUnsafeProposalLocked` to avoid trying to reject proposals based on the state of the raft group when the group is not provided (e.g. when flushing the buffer). We already had this logic for `RequestLease` (indirectly), but did not for `TransferLease`.
- Loading branch information