Add shutdown method for CatalogCacheLoader

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Tan
              Reporter:
              Benjamin Caimano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: