-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59763/
-----------------------------------------------------------
(Updated June 13, 2017, 11:28 p.m.)
Review request for mesos and Vinod Kone.
Changes
-------
Add comment about forward compatibility.
Bugs: MESOS-7611
https://issues.apache.org/jira/browse/MESOS-7611
Repository: mesos
Description
-------
That is, if a standby master is configured to use region X but it learns
that the current master has region Y, the standby master will abort with
an error message. This enforces the requirement that all masters in a
single Mesos cluster are configured to use the same region (they can be
configured to use different zones in that region, however).
To allow graceful upgrades, we only abort the standby master if both the
standby master and the leading master have a configured domain; if
either master has the unset (default) domain, the standby master does
not abort.
NOTE: It would be nice to have unit tests to validate this behavior, but
the current unit test infrastructure does not support starting multiple
masters (MESOS-2976).
Diffs (updated)
-----
include/mesos/type_utils.hpp c7872c0cd7f19d923e8be1f33a775d5eb17a0cf7
include/mesos/v1/mesos.hpp c2e6ec5c4fa06d0179d6aaf3371ace4b6e6dbdaf
src/master/master.cpp 3c6925dc6055fb7cec12ec03bc557ad462863c58
Diff: https://reviews.apache.org/r/59763/diff/2/
Changes: https://reviews.apache.org/r/59763/diff/1-2/
Testing
-------
`make check`
Manual testing.
Thanks,
Neil Conway