-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.1.10
-
Component/s: Replication
-
None
-
ALL
-
-
Repl 2019-05-20
-
10
If you run a read command on a session (e.g. 'find') at "linearizable" read concern and include a "txnNumber" field, the server will do no waiting to satisfy the linearizable read concern i.e. it will bypass the call to waitForLinearizableReadConcern. This is due to the fact that when we check out a session, which we will do when a command includes a txnNumber, we read from the transactions table inside a DBDirectClient query. The DBDirectClient overrides the original read concern on the OperationContext and so at the end of command execution, we will not wait on any read concern.
- duplicates
-
SERVER-41050 Ban txnNumbers outside of transactions and retryable writes
- Closed
- related to
-
SERVER-40850 Read commands that check out the session and use speculative majority read concern may hit invariant inside DBDirectClient call
- Closed