| 394 | |
| 395 | |
| 396 | Future<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 | |
| 405 | Future<Option<uint64_t>> CoordinatorProcess::updateIndexAfterWritten( |