Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Repl 2018-03-26
Description
Due to SERVER-33223, a global WriteUnitOfWork gets established in unstashTransactionResources() if snapshot read concern is specified. This WUOW will commit after running runCommandImpl(). However, waitForWaitConcern happens inside runCommandImpl() and will hit the invariant inside a WUOW.
We need to wait for write concern after committing the WUOW for commitTransaction and abortTransaction commands and disable or ignore write concerns for writes in a transaction.
Attachments
Issue Links
- duplicates
-
SERVER-33412 Error on writes with unsupported transaction options
-
- Closed
-