You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
107502: kv: fix data race in `TestReplicaTxnIdempotency` r=erikgrinaker a=nvanbenschoten
Fixescockroachdb#107435.
This commit deflakes `TestReplicaTxnIdempotency`. The race seen in the test was between an asynchronous read of a key attached to a raft proposal during a timestamp cache update and a mutation of that same underlying byte buffer by the test harness. We now make sure to clone the key before mutating the buffer.
Release note: None
Co-authored-by: Nathan VanBenschoten <[email protected]>
0 commit comments