Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
107412: kvserver: fix 'observed raft log position' assertion r=irfansharif a=irfansharif Fixes #107336. Fixes #106123. Fixes #107156. Fixes #106589. It's possible to hit this assertion under --stress --race when the proposing replica is starved enough for raft ticks that it loses leadership right when it steps proposals through raft. We're relying on undocumented API semantics in the etcd raft library whereby it mutates stepped entries with the term+index its to end up in. But that's only applicable if stepping through entries as a leader. Simply relax this assertion instead. Release note: None Co-authored-by: irfan sharif <[email protected]>
- Loading branch information