int sizeToSync = Math.min(gap, this.context.getRaftParameters().getLogSyncBatchSize()); byte[] logPack = this.logStore.packLog(startIndex, sizeToSync); request = new RaftRequestMessage();
int sizeToSync = Math.min(gap, this.context.getRaftParameters().getLogSyncBatchSize()); byte[] logPack = this.logStore.packLog(startIndex, sizeToSync); request = new RaftRequestMessage();
int sizeToSync = Math.min(gap, this.context.getRaftParameters().getLogSyncBatchSize()); byte[] logPack = this.logStore.packLog(startIndex, sizeToSync); request = new RaftRequestMessage();