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

Layering violation between d_concurrency and lock_manager

    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-05-29

      The RAII classes in d_concurrency are strictly for driving the locker of an operation context, which in turn builds on top of the LockManager.

      The implementation of ResourceId::toString() violates that layering by reaching up the stack. This dependency needs to be broken as a prerequisite to move the Locker out of the OperationContext and into TranasctionResources.

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

              Created:
              Updated:
              Resolved: