You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/08/26 21:52:49 UTC
[2/6] mesos git commit: Added a list of "unreachable" agents to the
registry.
Added a list of "unreachable" agents to the registry.
These are agents that have failed health checks.
Review: https://reviews.apache.org/r/50700/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/54059140
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/54059140
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/54059140
Branch: refs/heads/master
Commit: 540591407729ae9eaf81f68cb025b181782c5b99
Parents: c3268ca
Author: Neil Conway <ne...@gmail.com>
Authored: Fri Aug 26 14:48:03 2016 -0700
Committer: Vinod Kone <vi...@gmail.com>
Committed: Fri Aug 26 14:48:03 2016 -0700
----------------------------------------------------------------------
src/master/registry.proto | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/54059140/src/master/registry.proto
----------------------------------------------------------------------
diff --git a/src/master/registry.proto b/src/master/registry.proto
index 9bf9998..03c896c 100644
--- a/src/master/registry.proto
+++ b/src/master/registry.proto
@@ -41,6 +41,17 @@ message Registry {
repeated Slave slaves = 1;
}
+ message UnreachableSlave {
+ required SlaveID id = 1;
+
+ // The time when the slave was marked unreachable by the master.
+ required TimeInfo timestamp = 2;
+ }
+
+ message UnreachableSlaves {
+ repeated UnreachableSlave slaves = 1;
+ }
+
message Machine {
required MachineInfo info = 1;
}
@@ -60,9 +71,13 @@ message Registry {
// Most recent leading master.
optional Master master = 1;
- // All admitted slaves.
+ // All admitted (healthy) slaves.
optional Slaves slaves = 2;
+ // Slaves that have failed health checks. They may or may not still
+ // be running.
+ optional UnreachableSlaves unreachable = 7;
+
// Holds a list of machines and some status information about each.
// See comments in `MachineInfo` for more information.
optional Machines machines = 3;