Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
42939: storage: respect closed timestamp in tryReproposeWithNewLeaseIndex r=nvanbenschoten a=tbg Prior to this commit, tryReproposeWithNewLeaseIndex would not consult with the closed timestamp tracker. This meant that a proposal may end up with a new lease index at a timestamp that consumers of closed timestamp updates had already considered immutable. In other words, this broke closed timestamp guarantees and would by extension also have the potential to break CDC's. This path is fairly rare and it isn't one likely to cause problems in practice, though it certainly could have. See #42821 for details. Fixes #42821 Release note (bug fix): fix a bug which could lead to follower reads or CDC updates that did not reflect the full set of data at the timestamp. This bug was never observed in practice and should be rare to cause issues, one of the necessary ingredients being an aggressive closed timestamp interval. Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
- Loading branch information