Control AsyncRequestExecutor via ConstructorDestructorActions

XMLWordPrintableJSON

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

      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
              Reporter:
              Amirsaman Memaripour
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: