-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Repl 2019-11-04
-
0
There was a race between the background WTOplogJournalThread and the test running inserts. The inserts set the WT transaction timestamp to Timestamp(1, 1) and that was why query_timestamp returned Timestamp(1, 0). SERVER-42497 added the setTimestamp call to the inserts.
In production we don't have any logic that sets timestamps to anything other than what the LogicalClock timestamp generator gives us, so this race cannot occur in production. Ideally, no dbtest would explicitly set the timestamps backwards like this.
- is duplicated by
-
SERVER-44196 Complete TODO listed in SERVER-43399
- Closed
- related to
-
SERVER-42497 Detect/log unintentional untimestamped writes to catalog table
- Closed