-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
v4.2
-
Repl 2019-06-17, Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09
inActiveOrKilledMultiDocumentTransaction() was added to detect if an operation was run as part of a multi-document transaction, allowing for the possibility that the transaction was aborted by a concurrent operation. After SERVER-38810, it is not possible for a concurrent operation to abort a transaction, since an operation must check out the session to modify transaction state. We could remove this function and replace all usages with inMultiDocumentTransaction().
- is related to
-
SERVER-38810 Use the Client mutex or the SessionCatalog mutex for concurrency control of the TransactionParticipant
- Closed