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

Method checkLearnPhase

src/log/coordinator.cpp:396–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394
395
396Future<bool> CoordinatorProcess::checkLearnPhase(const Action& action)
397{
398 // Make sure that the local replica has learned the newly written
399 // log entry. Since messages are delivered and dispatched in order
400 // locally, we should always have the new entry learned by now.
401 return replica->missing(action.position());
402}
403
404
405Future<Option<uint64_t>> CoordinatorProcess::updateIndexAfterWritten(

Callers

nothing calls this directly

Calls 2

missingMethod · 0.80
positionMethod · 0.45

Tested by

no test coverage detected