Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: restore synthetic timestamp handling in MVCCValue.GetLocalTi…
…mestamp Fixes cockroachdb#106569. In 3773994, we stopped decoding the synthetic timestamp bit from MVCC keys. When doing so, we removed logic from `MVCCValue.GetLocalTimestamp` that handles synthetic timestamps. In doing so, we missed the fact that the timestamp provided to `MVCCValue.GetLocalTimestamp` can also come from `MVCCMetadata.Timestamp`, which has not yet been stripped of synthetic timestamps. Eventually we will get to that as part of cockroachdb#101938, but for now, we restore this handling. Release note: None
- Loading branch information