Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26908: storage: harden artifical quiesce heartbeat r=spencerkimball a=spencerkimball We previously had the assumption when sending quiesce messages that the Commit field could always be set to the Raft group's `status.Commit`. With upcoming changes to quiesce ranges even with replicas that are behind but non-live, this value could be set incorrectly and still received by a supposedly dead replica. This change mirrors the logic in the raft implementation for setting the `raftpb.Message.Commit` field. Release note: None Co-authored-by: Spencer Kimball <[email protected]>
- Loading branch information