I think this is control through SocketManager in process.cpp. When the connection broken, exit would be trigged in socket_manager.
On Sat, Feb 27, 2016 at 2:45 AM, Chong Chen <chong.ch...@huawei.com> wrote: > Hi, > > When a running framework was disconnected (manually terminated), the Mesos > master will detect it immediately. The master::exited() function will be > invoked with log info “framework disconnected”. > > I just wondering, how this disconnect detection was implemented in Mesos? > I can’t find any place in mesos src directory where the Master::exit() > function was called. > > > > Thanks! > > > > Best Regards, > > Chong > -- Best Regards, Haosdent Huang