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

Control AsyncRequestExecutor via ConstructorDestructorActions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service arch 2020-12-14
    • 0

    Description

      The asynchronous implementations for buildinfo commands add new decorations to ServiceContext. These decorations are executors (instances of AsyncRequestExecutor that is defined here), which run buildinfo commands asynchronously.

      These executors are started and shutdown during their construction and destruction, respectively. We should change this so that they are started by a ConstructorAction and , similarly, stopped by a DestructorAction. This ensures these executors are stopped as we destroy the ServiceContext.

      Attachments

        Activity

          People

            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: