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

Send the task's latest "status update state" to frameworks when an unreachable agent reregisters.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reviewable
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0, 1.6.0, 1.7.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      With MESOS-6406 the master started to actively send frameworks status updates for reregistering agents if the agent:

      • has previously been removed by the master for being unreachable or
      • is unknown to the master due to the garbage collection of the
        unreachable and gone agents in the registry and the master's state.

      However we sent the task's latest state instead of its latest status update state which means the framework could first get an update with a TASK_FINISHED and then later TASK_RUNNING.

      This is inconsistent with the handling of other master generated updates, e.g,. during reconciliation; we should send the status update state instead.

        Attachments

          Activity

            People

            • Assignee:
              xujyan Yan Xu
              Reporter:
              xujyan Yan Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: