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

Add shutdown method for CatalogCacheLoader

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1, 4.2.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Sharding 2019-07-01, Sharding 2019-07-15
    • 61

      As is, the ShardServerCatalogCacheLoader only shuts down threads and interrupts ops in its destructor. That destructor never gets called because CatalogCacheLoaders are ServiceContext decorations.

      We should add a shutdown method to prevent work threads from running into late shutdown.

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: