You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2017/03/15 16:29:27 UTC

mesos git commit: Modified an erroneous comment in the Master API proto.

Repository: mesos
Updated Branches:
  refs/heads/master 5abaeec1c -> 306e379be


Modified an erroneous comment in the Master API proto.

The `AGENT_REMOVED` event is not sent when the agent does not
reregister within the timeout. In the future, we would introduce
a new event that is sent when an agent is marked as unreachable.

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


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

Branch: refs/heads/master
Commit: 306e379be8e6518433ec835aa2cfaa50367224e3
Parents: 5abaeec
Author: Anand Mazumdar <an...@apache.org>
Authored: Wed Mar 15 09:28:51 2017 -0700
Committer: Anand Mazumdar <an...@apache.org>
Committed: Wed Mar 15 09:28:51 2017 -0700

----------------------------------------------------------------------
 include/mesos/master/master.proto    | 6 ++----
 include/mesos/v1/master/master.proto | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/306e379b/include/mesos/master/master.proto
----------------------------------------------------------------------
diff --git a/include/mesos/master/master.proto b/include/mesos/master/master.proto
index 0d8d589..841e207 100644
--- a/include/mesos/master/master.proto
+++ b/include/mesos/master/master.proto
@@ -518,10 +518,8 @@ message Event {
     required Response.GetAgents.Agent agent = 1;
   }
 
-  // Forwarded by the master when an agent is removed.
-  // This can happen when an agent does not re-register
-  // within `--agent_reregister_timeout` upon a master failover,
-  // or when the agent is scheduled for maintenance.
+  // Forwarded by the master when an agent is removed. This
+  // can happen when the agent is scheduled for maintenance.
   //
   // NOTE: It's possible that an agent might become
   // active once it has been removed, i.e. if the master

http://git-wip-us.apache.org/repos/asf/mesos/blob/306e379b/include/mesos/v1/master/master.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/master/master.proto b/include/mesos/v1/master/master.proto
index da6f110..f8711e4 100644
--- a/include/mesos/v1/master/master.proto
+++ b/include/mesos/v1/master/master.proto
@@ -518,10 +518,8 @@ message Event {
     required Response.GetAgents.Agent agent = 1;
   }
 
-  // Forwarded by the master when an agent is removed.
-  // This can happen when an agent does not re-register
-  // within `--agent_reregister_timeout` upon a master failover,
-  // or when the agent is scheduled for maintenance.
+  // Forwarded by the master when an agent is removed. This
+  // can happen when the agent is scheduled for maintenance.
   //
   // NOTE: It's possible that an agent might become
   // active once it has been removed, i.e. if the master