Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77611

Add a static constructor/destructor for the TransactionResources decoration

    • 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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: