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

Event stream could send heartbeat before subscribed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1, 1.6.0
    • Component/s: HTTP API
    • Labels:
      None

      Description

      A new event for heartbeat is added in MESOS-7695, but I believe the implementation in https://reviews.apache.org/r/61262/ can trigger a corner case and send HEARTBEAT before SUBSCRIBED

       

      I would consider this a behavior change for the customer and I propose we change the order as I suggest in the review to preserve previous behavior (since the subscriber needs to see the SUBSCRIBED event to really know how it should respond to HEARTBEAT message anyway)

        Attachments

          Activity

            People

            • Assignee:
              zhitao Zhitao Li
              Reporter:
              zhitao Zhitao Li
              Shepherd:
              Greg Mann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: