- public FollowerLogInformationImpl(PeerInfo peerInfo, long matchIndex, RaftActorContext context) {
+ public FollowerLogInformationImpl(final PeerInfo peerInfo, final long matchIndex, final RaftActorContext context) {
// If the new match index is the index of the entry currently being sliced, then we know slicing is complete
// and the follower received the entry and responded so clear the slicedLogEntryIndex
if (isLogEntrySlicingInProgress() && slicedLogEntryIndex == matchIndex) {
// If the new match index is the index of the entry currently being sliced, then we know slicing is complete
// and the follower received the entry and responded so clear the slicedLogEntryIndex
if (isLogEntrySlicingInProgress() && slicedLogEntryIndex == matchIndex) {
if (this.installSnapshotState == null) {
this.installSnapshotState = Preconditions.checkNotNull(state);
}
if (this.installSnapshotState == null) {
this.installSnapshotState = Preconditions.checkNotNull(state);
}