-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v4.4
-
Repl 2021-06-14
-
(copied to CRM)
Reported here: https://developer.mongodb.com/community/forums/t/writeconcern-is-not-allowed-within-a-multi-statement-transaction/16838/2
Setting getLastErrorDefaults in the replica set config will break write operations in multi-document transactions. Each transactional write will fail with:
{'ok': 0.0, 'errmsg': 'writeConcern is not allowed within a multi-statement transaction', 'code': 72, 'codeName': 'InvalidOptions'}
The setDefaultRWConcern command does not have this problem.
- is related to
-
SERVER-55701 Ignore replica set config's getLastErrorDefaults
- Closed