Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4241

Metronome blocks a worker thread of the global execution context

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: metronome

      Description

      Overview

      In Metronome initialization, we need to launch the scheduler as an asynchronous thread, so that an application object can be returned and indicate to play that initialization is complete. However, instead of launching a dedicated thread for this life-of-the-process blocking activity, we use one of the worker threads for the global execution context.

      https://github.com/dcos/metronome/blob/13d3dea/src/main/scala/dcos/metronome/JobApplicationLoader.scala#L32

      Acceptance criteria

      Metronome should launch a dedicated thread for the scheduler.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tharper Tim Harper
              Team:
              Orchestration Team
              Watchers:
              Tim Harper
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: