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

Fix CatalogCache's threadPool shutdown order

    • Fully Compatible
    • ALL
    • Sharding 2020-08-10
    • 0

      The thread pool of the CatalogCache needs to be constructed before the _databaseCache because it requires it. On the other hand to prevent access to already freed memory, the thread pool needs to be shutdown and joined before to destruct the _databaseCache

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: