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

Method expired

src/state/zookeeper.cpp:393–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391
392
393void ZooKeeperStorageProcess::expired(int64_t sessionId)
394{
395 if (sessionId != zk->getSessionId()) {
396 return;
397 }
398
399 state = DISCONNECTED;
400
401 delete zk;
402 zk = new ZooKeeper(servers, timeout, watcher);
403
404 state = CONNECTING;
405}
406
407
408void ZooKeeperStorageProcess::updated(int64_t sessionId, const string& path)

Callers 9

timeoutMethod · 0.45
_recoveryTimeoutMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
pingTimeoutMethod · 0.45
foreachvalueFunction · 0.45
heartbeatMethod · 0.45
waitEndpointMethod · 0.45

Calls 1

getSessionIdMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36