Skip to content

Commit

Permalink
FaultDomain, conventions for additional hierarchy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdef authored and vinodkone committed Feb 16, 2019
1 parent 2d23631 commit 437968d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/mesos/mesos.proto
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,18 @@ message ExecutorInfo {
* in the same zone, in different zones in the same region, or in
* different regions. Note that all masters in a given Mesos cluster
* must be in the same region.
*
* Complex deployments may have additional levels of hierarchy: for example,
* multiple racks might be grouped together into "halls" and multiple DCs in
* the same geographical vicinity might be grouped together. As a convention,
* the recommended way to represent additional levels of hierarchy is via dot-
* separated labels in the existing zone and region fields. For example, the
* fact that racks "abc" and "def" are in the same hall might be represented
* using the zone names "rack-abc.hall-1" and "rack-def.hall-1", for example.
* Software that is not aware of this additional structure will compare the
* zone names for equality- hence, the two zones will be treated as different
* (unrelated) zones. Software that is "hall-aware" can inspect the zone names
* and make use of the additional hierarchy.
*/
message DomainInfo {
message FaultDomain {
Expand Down
12 changes: 12 additions & 0 deletions include/mesos/v1/mesos.proto
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,18 @@ message ExecutorInfo {
* in the same zone, in different zones in the same region, or in
* different regions. Note that all masters in a given Mesos cluster
* must be in the same region.
*
* Complex deployments may have additional levels of hierarchy: for example,
* multiple racks might be grouped together into "halls" and multiple DCs in
* the same geographical vicinity might be grouped together. As a convention,
* the recommended way to represent additional levels of hierarchy is via dot-
* separated labels in the existing zone and region fields. For example, the
* fact that racks "abc" and "def" are in the same hall might be represented
* using the zone names "rack-abc.hall-1" and "rack-def.hall-1", for example.
* Software that is not aware of this additional structure will compare the
* zone names for equality- hence, the two zones will be treated as different
* (unrelated) zones. Software that is "hall-aware" can inspect the zone names
* and make use of the additional hierarchy.
*/
message DomainInfo {
message FaultDomain {
Expand Down

0 comments on commit 437968d

Please sign in to comment.