Details
Description
If a standalone mongod receives a write command with a valid txn number and logical session id, it will assign a statement id to each write, but because isOplogDisabledFor will always return false, since replication is not enabled, this invariant will be hit here.
I'm not completely sure the invariant even needs to stay, since statement ids are only used after this check for inserting to the oplog, but regardless, since retryable writes aren't supported on standalone mongods, a command with a txn number should return a bad status instead of crashing the node.
Attachments
Issue Links
- is duplicated by
-
SERVER-30540 Throw an error if retryable writes is attempted on stand alone mongod
-
- Closed
-
- related to
-
SERVER-41531 Support transactions on standalone instance
-
- Closed
-