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

Add shutdown method for CatalogCacheLoader

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.6
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Sharding 2019-07-01, Sharding 2019-07-15
    • Linked BF Score:
      61

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            renctan Randolph Tan
            Reporter:
            ben.caimano Benjamin Caimano
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: