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

Control AsyncRequestExecutor via ConstructorDestructorActions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Service arch 2020-12-14
    • 0

      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.

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

              Created:
              Updated:
              Resolved: