----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66546/ -----------------------------------------------------------
Review request for mesos, Chun-Hung Hsiao and Jan Schlicht. Bugs: MESOS-7558 https://issues.apache.org/jira/browse/MESOS-7558 Repository: mesos Description ------- This patch adds a check to the resource provider manager's subscribe functionality making sure that any the ID sent by a resubscribing resource provider corresponds to some previously known resource provider. This not only serves as convenient validation of user-provided data, but also makes sure that the internal state of the resource provider manager remains consistent. Diffs ----- src/resource_provider/manager.cpp 68e1866986bfb91bf8355099ee1f0a2a86aba39a src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea Diff: https://reviews.apache.org/r/66546/diff/1/ Testing ------- `make check` Thanks, Benjamin Bannier