You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/03/28 21:59:44 UTC

[4/8] mesos git commit: Added TODO in slave.cpp.

Added TODO in slave.cpp.

Review: https://reviews.apache.org/r/45119/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6fbc13f5
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6fbc13f5
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6fbc13f5

Branch: refs/heads/master
Commit: 6fbc13f51abc9a66f2770c7994365f005dc6ce91
Parents: 9a9f520
Author: Neil Conway <ne...@gmail.com>
Authored: Mon Mar 28 12:58:08 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Mar 28 12:58:08 2016 -0700

----------------------------------------------------------------------
 src/slave/slave.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6fbc13f5/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index f383605..86ac67b 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -3664,9 +3664,10 @@ void Slave::exited(const UPID& pid)
   LOG(INFO) << pid << " exited";
 
   if (master.isNone() || master.get() == pid) {
+    // TODO(neilc): Try to re-link to the master (MESOS-1963).
+    // TODO(benh): After so long waiting for a master, commit suicide.
     LOG(WARNING) << "Master disconnected!"
                  << " Waiting for a new master to be elected";
-    // TODO(benh): After so long waiting for a master, commit suicide.
   }
 }