-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding 2021-11-29, Sharding 2021-12-13, Sharding 2021-12-27, Sharding 2022-01-10, Sharding 2022-01-24
-
2
- Make the OperationContext not set the txnRetryCounter for multi-document transactions to 0 by default. That is, if the client does not provide a txnRetryCounter, its value should be on the OperationContext boost::none.
- Make TransactionParticipant and TransactionCoordinator have a way to track if the txnRetryCounter of multi-document transaction is client-specified or the default.
This is required by SERVER-61088 where we only want to persist txnRetryCounter if the txnRetryCounter is initialized.
- is depended on by
-
SERVER-61088 [Upgrade/downgrade] Make transaction participants check if txnRetryCounter is supported during startTransaction and have mongos use it
- Closed