private void handleRecovery() { LOG.debug("In recovery"); Action action = curTxState.nextAction(true); emit(curTxState.getTxid(), action); }
private void doCheckpoint() { LOG.debug("In checkpoint"); if (curTxState.getState() == CheckPointState.State.COMMITTED) { saveTxState(curTxState.nextState(false)); lastCheckpointTs = System.currentTimeMillis(); } Action action = curTxState.nextAction(false); emit(curTxState.getTxid(), action); }
private void handleRecovery() { LOG.debug("In recovery"); Action action = curTxState.nextAction(true); emit(curTxState.getTxid(), action); }
private void doCheckpoint() { LOG.debug("In checkpoint"); if (curTxState.getState() == CheckPointState.State.COMMITTED) { saveTxState(curTxState.nextState(false)); lastCheckpointTs = System.currentTimeMillis(); } Action action = curTxState.nextAction(false); emit(curTxState.getTxid(), action); }