Closed cockroach-teamcity closed 5 years ago
([{:op
{:process 25,
:type :ok,
:f :txn,
:value [[:write 4 8] [:write 0 8]],
:index 75358,
:time 278788273877},
:model {3 7, 1 4, 0 8, 2 3, 4 8}}
{:op
{:process 26,
:type :ok,
:f :txn,
:value [[:read 0 9]],
:index 75361,
:time 278792446000},
:model {:msg "8≠9"}}]
[{:op
{:process 25,
:type :ok,
:f :txn,
:value [[:write 4 8] [:write 0 8]],
:index 75358,
:time 278788273877},
:model {3 7, 1 4, 0 8, 2 2, 4 8}}
{:op
{:process 26,
:type :ok,
:f :txn,
:value [[:read 0 9]],
:index 75361,
:time 278792446000},
:model {:msg "8≠9"}}]),
Duplicate of https://github.com/cockroachdb/cockroach/issues/37394#issuecomment-491087404. Notice the stale read of register 0 by process 26, which returns 9 instead of 8. Just like in #37394, 8 was written as the second write in a transaction that had finished just before.
SHA: https://github.com/cockroachdb/cockroach/commits/c25518b4e9a723d8de0dba30a95ce0ade7963aed
Parameters:
To repro, try:
Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=1286188&tab=buildLog