Esempio n. 1
0
Future<bool> CoordinatorProcess::checkLearnPhase(const Action& action)
{
  // Make sure that the local replica has learned the newly written
  // log entry. Since messages are delivered and dispatched in order
  // locally, we should always have the new entry learned by now.
  return replica->missing(action.position());
}
Esempio n. 2
0
Future<vector<uint64_t> > CoordinatorProcess::getMissingPositions()
{
  return replica->missing(0, index);
}