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

"Detach" stuck threads in ServiceExecutorAdaptive

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch
    • Platforms 2018-04-09, Platforms 2018-04-23

      There are a few optimizations along this theme. The primary goal is to dismiss most of the overhead of managing stuck threads. They should be removed from the iterated list of ThreadStates at the least and probably should be set to stop work cycles after the current task is finished.

      This also means we should be checking "stuckness" either as a local thread state property set from indicator functions or by detecting overly long runtime for a given task. In either case, the changeover from normal thread to "detached" should be handled by the controller thread.

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: