Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: fix data race when updating pending txn in txnStatusCache
Fixes cockroachdb#105244. This commit avoids a data race by treating *roachpb.Transaction objects as immutable, and simply choosing the right transaction to keep in the cache when there is a choice to be made. Release note: None
- Loading branch information