-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
Sharding EMEA 2023-06-12, Sharding EMEA 2023-06-26, Sharding EMEA 2023-07-10
-
148
We are going in the direction of having all resources related to a transaction to be attached to the TransactionResources object, which will control their lifetime and the OperationContext will be just a view into the TransactionResources rather than a lifetime controller.
This ticket is to create a static constructor/destructor on that decoration so that we can use that as a base for initialisation of the default values of these resources rather than them being initialised at random points of the OperationContext lifetime.
- is depended on by
-
SERVER-77213 Move the all transactions-related state from OperationContext to TransactionResources
- Blocked