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

Move d_concurrency.h/.cpp to shard_role_api_stor_ex

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the d_concurrency.h/.cpp set of utilities are under the lock_manager library, but they reach into TransactionResources in order to obtain the locker interface. On the other hand, TransactionResources is under the shard_role_api library that is higher on the architectural stack than the lock_manager.

      Because of this, we have a dependency order inversion.

      This ticket moves the rest of the d_concurrency.h/.cpp utilities into the shard_role_api_stor_ex library, where they are more appropriate to be located and cleans up the lock_manager library.

      Note that, we can't yet remove the cyclic dependency, but this is just a step in that direction.

            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:
              None
              None
              None
              None