You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 05:14:52 UTC
svn commit: r1131519 - /incubator/mesos/trunk/src/messages.hpp
Author: benh
Date: Sun Jun 5 03:14:52 2011
New Revision: 1131519
URL: http://svn.apache.org/viewvc?rev=1131519&view=rev
Log:
Leader election message added
Modified:
incubator/mesos/trunk/src/messages.hpp
Modified: incubator/mesos/trunk/src/messages.hpp
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/messages.hpp?rev=1131519&r1=1131518&r2=1131519&view=diff
==============================================================================
--- incubator/mesos/trunk/src/messages.hpp (original)
+++ incubator/mesos/trunk/src/messages.hpp Sun Jun 5 03:14:52 2011
@@ -43,6 +43,9 @@ enum MessageType {
/* From slave heart to master. */
SH2M_HEARTBEAT,
+
+ /* From leader election listener to slave */
+ LE2S_NEWLEADER,
/* From master to slave. */
M2S_REGISTER_REPLY,
@@ -176,6 +179,9 @@ TUPLE(S2M_LOST_EXECUTOR,
TUPLE(SH2M_HEARTBEAT,
(SlaveID));
+
+TUPLE(LE2S_NEWLEADER,
+ (std::string /*PID of new leader*/));
TUPLE(M2S_REGISTER_REPLY,
(SlaveID));