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

ShardRegistry internal reload is not interruptible

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • 20

    Description

      The ShardRegistry periodically schedules an internal reload on its own dedicated executor. However, this reload is not interruptible in any way, even though shut down of the ShardRegistry will join on it.

      Given that this internal reload has no operation deadline, it can get stuck for various reasons, which in turn will block the shutdown sequence.

      As part of this ticket, we should make ShardRegistry keep track of its internal reloads (possibly through an OperationContextGroup) so that it can be interrupted on shutdown.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: