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

Method recover

src/log/catchup.cpp:366–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364 }
365
366 Future<Nothing> recover(const Metadata::Status& status)
367 {
368 LOG(INFO) << "Replica is in " << status << " status";
369
370 if (status != Metadata::VOTING) {
371 return Nothing();
372 }
373
374 return runRecoverProtocol(quorum, network, status, false)
375 .then(defer(self(), &Self::_recover, lambda::_1));
376 }
377
378 Future<Nothing> _recover(const Option<RecoverResponse>& response)
379 {

Callers

nothing calls this directly

Calls 4

NothingClass · 0.85
runRecoverProtocolFunction · 0.85
deferFunction · 0.85
thenMethod · 0.45

Tested by

no test coverage detected