| 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 | { |
nothing calls this directly
no test coverage detected