Skip to content

Commit

Permalink
Update comment and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandika3 committed May 27, 2024
1 parent 0cb21b3 commit 11b4568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class NotReplicatedException extends RaftException {
private final long callId;
private final ReplicationLevel requiredReplication;
private final long logIndex;
/** This is only populated on client-side based from the commitInfos in RaftClientReply */
/** This is only populated on client-side since RaftClientReply already has commitInfos */
private Collection<CommitInfoProto> commitInfos;

public NotReplicatedException(long callId, ReplicationLevel requiredReplication, long logIndex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,6 @@ static void assertNotReplicatedException(long logIndex, ReplicationLevel replica
Assert.assertNotNull(nre);
Assert.assertEquals(logIndex, nre.getLogIndex());
Assert.assertEquals(replication, nre.getRequiredReplication());
Assert.assertNotNull((nre.getCommitInfos()));
Assert.assertNotNull(nre.getCommitInfos());
}
}

0 comments on commit 11b4568

Please sign in to comment.