----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70669/ -----------------------------------------------------------
Review request for mesos and Benjamin Mahler. Bugs: MESOS-7258 https://issues.apache.org/jira/browse/MESOS-7258 Repository: mesos Description ------- This patch adds `user` and `checkpoint` fields of `FrameworkInfo` into the `validateUpdate()` function for the purpose of using this function to implement the UPDATE_FRAMEWORK call. To preserve the legacy behaviour of re-subscription which silently ignores these fields, the re-subscription path now explicitly sets them to their old values. Diffs ----- src/master/master.cpp c72b92656dddca63ee89abf676da66bd76f58a6d src/master/validation.hpp 95638a17052ece6c957aa76e4cead8d7bfe82024 src/master/validation.cpp 9fb0850987ce385d345302cac9721adead7181b8 src/tests/master_validation_tests.cpp 1b7a8273f2704e0a4dedf33c55ede33dc1b1a4af Diff: https://reviews.apache.org/r/70669/diff/1/ Testing ------- Thanks, Andrei Sekretenko