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

Possible double mutex acquisition in ShardServerCatalogCacheLoader

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.4, 3.7.5
    • Fix Version/s: 3.6.5, 3.7.6
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Sharding 2018-04-23, Sharding 2018-05-07

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: