mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@mesosphere.io>
Subject Review Request 65774: Fixed a master API bug for agent re-registration after master failover.
Date Fri, 23 Feb 2018 20:08:37 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65774/
-----------------------------------------------------------

Review request for mesos, Greg Mann, Jan Schlicht, Vinod Kone, and Jiang Yan Xu.


Bugs: MESOS-8601
    https://issues.apache.org/jira/browse/MESOS-8601


Repository: mesos


Description
-------

When the master fails over and a client subscribes to the master before
agent re-registration, the master will crash when sending `TASK_ADDED`
because the framework info might not have been added to the master yet.
This patch fixes this bug.


Diffs
-----

  src/master/master.hpp 6569c9ea0677f193ec56c276e6deea3f2fe86514 
  src/master/master.cpp e7d5ac67a94f927bb747bd283a3bf9671b2b8f44 


Diff: https://reviews.apache.org/r/65774/diff/1/


Testing
-------

sudo make check


Thanks,

Chun-Hung Hsiao


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message