----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37053/#review94143 -----------------------------------------------------------
Ship it! src/slave/slave.cpp (lines 2720 - 2721) <https://reviews.apache.org/r/37053/#comment148658> What do you think about emitting a warning if the executor id is already set? It could be, that users have been abusing this field before (I am not aware of any, but it is a possibility). If not, we should comment on it in mesos.proto. - Niklas Nielsen On Aug. 4, 2015, 11:32 a.m., Kapil Arya wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/37053/ > ----------------------------------------------------------- > > (Updated Aug. 4, 2015, 11:32 a.m.) > > > Review request for mesos, Niklas Nielsen and Vinod Kone. > > > Bugs: MESOS-3196 > https://issues.apache.org/jira/browse/MESOS-3196 > > > Repository: mesos > > > Description > ------- > > Always set executor_id when sending StatusUpdate. > > > Diffs > ----- > > src/slave/slave.cpp 6b21db973dc95dd5eb2238eebe697db9dd063ef1 > src/tests/master_tests.cpp 2aea430951d40d8fe78f656b1269c5e55a0802db > src/tests/scheduler_tests.cpp 98fc70bf43ba99b54064a236795c7e1269004b71 > > Diff: https://reviews.apache.org/r/37053/diff/ > > > Testing > ------- > > make check with a couple of added checks that verify that the executor_id is > set in the incoming TaskStatus in Master as well as Scheduler. > > > Thanks, > > Kapil Arya > >