----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62502/#review186020 -----------------------------------------------------------
include/mesos/resource_provider/resource_provider.proto Lines 55 (patched) <https://reviews.apache.org/r/62502/#comment262383> It seems to me that me might want to have two types of `Publish` events, one for RP masters and one for RP agents. The RP master publish event would notify the RP master to checkpoint which agent is going to use the resource, but the RP agent publish don't need such information, since the event sender (Mesos master) and the event receiver (Mesos agent) would have already know the agent ID. - Chun-Hung Hsiao On Sept. 22, 2017, 11:26 a.m., Jan Schlicht wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62502/ > ----------------------------------------------------------- > > (Updated Sept. 22, 2017, 11:26 a.m.) > > > Review request for mesos, Benjamin Bannier, Chun-Hung Hsiao, and Jie Yu. > > > Repository: mesos > > > Description > ------- > > Before launching a task that use resource provider resources, the Mesos > master will instruct the resource provider to make these resources > available for the task. Also the resource provider will checkpoint > informations to be able to reconcile resource usage in case of a > failover. > > > Diffs > ----- > > include/mesos/resource_provider/resource_provider.proto > f5a9073075327019fd133bd51265f695ef464845 > include/mesos/v1/resource_provider/resource_provider.proto > e5cbede5b6e57a8641fca1ebfee5454f292cc24c > src/resource_provider/storage/provider.cpp > 46224997430ac0c568904d80014166a6f059907f > src/tests/mesos.hpp b0749db273c91692b91d7ca87f975694b18e422c > > > Diff: https://reviews.apache.org/r/62502/diff/1/ > > > Testing > ------- > > make check > > > Thanks, > > Jan Schlicht > >
