----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43661/#review121154 -----------------------------------------------------------
Ship it! Ship It! - Vinod Kone On Feb. 17, 2016, 7:22 p.m., Anand Mazumdar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/43661/ > ----------------------------------------------------------- > > (Updated Feb. 17, 2016, 7:22 p.m.) > > > Review request for mesos and Vinod Kone. > > > Bugs: MESOS-3570 > https://issues.apache.org/jira/browse/MESOS-3570 > > > Repository: mesos > > > Description > ------- > > This change adds a check to ensure that we don't `Subscribe` again in case we > already have a `SubscribedResponse` stream set. With pipelining, we won't be > able to send more then 1 subscribe calls on the `Subscribe` connection. > > In case, the scheduler sends two subscribe calls simultaneously before the > subscribed response stream could be established. We would invoke the > `disconnected`/`connected` callback, making the scheduler subscribe again. > > > Diffs > ----- > > src/scheduler/scheduler.cpp 99a7d0dfff7b0c61decc9ff6d9e6d46ef13a7e75 > > Diff: https://reviews.apache.org/r/43661/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Anand Mazumdar > >