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

Possible double mutex acquisition in ShardServerCatalogCacheLoader

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.5, 3.7.6
    • Affects Version/s: 3.6.4, 3.7.5
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Sharding 2018-04-23, Sharding 2018-05-07

      With the mutex already acquired during collection metadata refresh here, if scheduling the worker thread fails for any reason (most likely only on shutdown), the mutex will be recursively acquired, which is not allowed.

      Same problem exists for the database refresh logic here.

            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: