-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.3.1
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.2
-
Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29
-
20
Currently we start a transaction that performs modifications to documents with snapshot read concern.
With snapshot read concern, we set the readSource to be the kAllCommittedSnapshot. This can cause build failures in the case where in our evergreen runs, an HMAC key insertion right before we prepopulate our test collection. In this case, since we prepopulate the collection while the WT transaction for the HMAC key insertion is not yet committed, the documents we insert into the test collection never make it into the all committed snapshot. This will cause inconsistencies in our test results. We should pin the committedSnapshot to always be <= allCommitted and also audit all uses of transactions with snapshot read concern to make sure any previous writes outside the transaction that are depended on by the transaction should be using majority write concern.
- duplicates
-
SERVER-42225 timestamped_reads_wait_for_prepare_oplog_visibility.js should insert documents with write concern majority to guarantee visibility in transactions
- Closed