----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45408/ -----------------------------------------------------------
Review request for mesos and Vinod Kone. Bugs: MESOS-4950 https://issues.apache.org/jira/browse/MESOS-4950 Repository: mesos Description ------- This change adds a `reconnect` method that allows schedulers to force a reconnection with the master. This is useful when the scheduler detects that there is a one-way partition with the master (e.g., lack of `HEARTBEAT` events) and wants to trigger a reconnection rather than relying on the `disconnected` callback. Diffs ----- include/mesos/v1/scheduler.hpp 765935e97b6c1686ab464a5cf1cf2dfd816f51f1 src/scheduler/scheduler.cpp 13972449363b633f21ddec7649b1b170703c773a Diff: https://reviews.apache.org/r/45408/diff/ Testing ------- make check (added a test later in the review chain) Thanks, Anand Mazumdar