Made a few minor tweaks to comments. Review: https://reviews.apache.org/r/50704/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8330e99f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8330e99f Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8330e99f Branch: refs/heads/master Commit: 8330e99f6e9842ec665414fc5f497e81ef7ed7b4 Parents: 0b90ccc Author: Neil Conway <neil.con...@gmail.com> Authored: Fri Aug 26 14:48:47 2016 -0700 Committer: Vinod Kone <vinodk...@gmail.com> Committed: Fri Aug 26 14:49:49 2016 -0700 ---------------------------------------------------------------------- src/messages/messages.proto | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/8330e99f/src/messages/messages.proto ---------------------------------------------------------------------- diff --git a/src/messages/messages.proto b/src/messages/messages.proto index 17bb352..7d65be1 100644 --- a/src/messages/messages.proto +++ b/src/messages/messages.proto @@ -416,9 +416,12 @@ message RegisterSlaveMessage { /** - * Registers the agent with the master. - * This is used when the agent has previously registered and - * the master changes to a newly elected master. + * Reregisters the agent with the master. + * + * This is used when the agent has previously registered and the agent + * has reason to suspect that it should re-establish its connection + * (e.g., a new master is elected or the agent hasn't seen a ping from + * the master for a long period of time). * * If registration fails, a `ShutdownMessage` is sent to the agent. * Failure conditions are documented inline in Master::reregisterSlave.