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

Agent may drop pending kill task status updates.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.3, 1.2.3, 1.3.2, 1.4.0
    • Component/s: agent
    • Labels:
      None
    • Target Version/s:
    • Sprint:
      Mesosphere Sprint 60, Mesosphere Sprint 61, Mesosphere Sprint 62
    • Story Points:
      5

      Description

      Currently there is an assumption that when a pending task is killed, the framework will still be stored in the agent. However, this assumption can be violated in two cases:

      1. Another pending task was killed and we removed the framework in 'Slave::run' thinking it was idle, because pending tasks were empty (we remove from pending tasks when processing the kill). (MESOS-7783 is an example instance of this).
      2. The last executor terminated without tasks to send terminal updates for, or the last terminated executor received its last acknowledgement. At this point, we remove the framework thinking there were no pending tasks if the task was killed (removed from pending).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bmahler Benjamin Mahler
                Reporter:
                bmahler Benjamin Mahler
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: