LOGGER.debug("Election starting for term {}", log.currentTerm());
List<ListenableFuture<RequestVoteResponse>> responses = Lists.newArrayList();
// Request votes from peers
for (Replica replica : log.members()) {
responses.add(sendVoteRequest(ctx, replica));
}
// We always vote for ourselves
responses.add(Futures.immediateFuture(RequestVoteResponse.newBuilder().setVoteGranted(true).build()));