Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6299

Master doesn't remove task from pending when it is invalid

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.28.3, 1.0.2, 1.1.0
    • None
    • Mesosphere Sprint 44
    • 2

    Description

      In `Master::_accept()` there are cases when a task is not launched (e.g, agent disconnected, agent removed or task group is invalid). Doesn't look like we make sure the task is removed from `framework->pending` in this case. In addition to the memory leak reconciliation will result in a scheduler thinking the task is still in TASK_STAGING. Same for operators who are looking at operator endpoints.

      Note that pending task not being removed when agent is disconnected/removed is a long standing bug. We should fix it in all the supported versions.

      Attachments

        Activity

          People

            vinodkone Vinod Kone
            vinodkone Vinod Kone
            Anand Mazumdar Anand Mazumdar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: