Enhance code documentation and add TODOs
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / behaviors / Candidate.java
index 0c23db4c8a0184af45461ddfd3ec214ce117c460..ecd49012461a7b1ee76f4678c7451a4fa1edbfb1 100644 (file)
@@ -158,6 +158,8 @@ public class Candidate extends AbstractRaftActorBehavior {
         context.getLogger().debug("Starting new term " + (currentTerm+1));
 
         // Request for a vote
+        // TODO: Retry request for vote if replies do not arrive in a reasonable
+        // amount of time TBD
         for (ActorSelection peerActor : peerToActor.values()) {
             peerActor.tell(new RequestVote(
                     context.getTermInformation().getCurrentTerm(),