-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61579/
-----------------------------------------------------------

Review request for mesos, Anand Mazumdar and Vinod Kone.


Bugs: MESOS-7872
    https://issues.apache.org/jira/browse/MESOS-7872


Repository: mesos


Description
-------

Prior to this patch, if an error occurred during subscription /
registration to the master, it was not propagated back to the
scheduler if the HTTP adapter was used. This happened because
the HTTP adapter does not call `scheduler.connected` until after
successful registration and hence the scheduler does not try to
send the `SUBSCRIBE` call, without which the adapter does not
send any events to the scheduler.

A fix is to call `scheduler.connected` if an error occurred
before the scheduler had subscribed.


Diffs
-----

  src/java/jni/org_apache_mesos_v1_scheduler_V0Mesos.cpp 
1f58fbff4e8414e4d2ae4c8f69b637ee3315e411 


Diff: https://reviews.apache.org/r/61579/diff/1/


Testing
-------

See https://reviews.apache.org/r/61580/


Thanks,

Alexander Rukletsov

Reply via email to