this.logStore.writeAt(index ++, logEntries[logIndex ++]);
this.logStore.writeAt(index, logEntry); if (logEntry.getValueType() == LogValueType.Application) { this.stateMachine.preCommit(index, logEntry.getValue());
this.logStore.writeAt(index, logEntry); if (logEntry.getValueType() == LogValueType.Application) { this.stateMachine.preCommit(index, logEntry.getValue());