MCPcopy Create free account
hub / github.com/apache/mesos / exited

Method exited

src/master/master.cpp:1263–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1261
1262
1263void Master::exited(
1264 const FrameworkID& frameworkId,
1265 const StreamingHttpConnection<v1::scheduler::Event>& http)
1266{
1267 foreachvalue (Framework* framework, frameworks.registered) {
1268 if (framework->http().isSome() &&
1269 framework->http()->writer == http.writer) {
1270 CHECK_EQ(frameworkId, framework->id());
1271 _exited(framework);
1272 return;
1273 }
1274
1275 // If the framework has reconnected, the writer will not match
1276 // above, and we will have a framework with a matching id.
1277 if (frameworkId == framework->id()) {
1278 LOG(INFO) << "Ignoring disconnection for framework "
1279 << *framework << " as it has already reconnected";
1280
1281 return;
1282 }
1283 }
1284}
1285
1286
1287void Master::exited(const UPID& pid)

Callers

nothing calls this directly

Calls 11

foreachvalueFunction · 0.70
sendMethod · 0.65
delayFunction · 0.50
isSomeMethod · 0.45
idMethod · 0.45
pidMethod · 0.45
getMethod · 0.45
keysMethod · 0.45
containsMethod · 0.45
eraseMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected