public void periodicWorkSecondPass() { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("BACoordinatorRecoveryModule: Second pass"); } if (_transactionUidVector != null) { processTransactionsStatus() ; } // ok notify the coordinator processor that recovery processing has completed }
private void processTransactionsStatus() { // Process the Vector of transaction Uids Enumeration transactionUidEnum = _transactionUidVector.elements() ; while ( transactionUidEnum.hasMoreElements() ) { Uid currentUid = (Uid) transactionUidEnum.nextElement(); try { if ( _recoveryStore.currentState( currentUid, _transactionType ) != StateStatus.OS_UNKNOWN ) { doRecoverTransaction( currentUid ) ; } } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_ba_BACoordinatorRecoveryModule_3(currentUid, ex); } } XTSBARecoveryManager.getRecoveryManager().setCoordinatorRecoveryStarted(); }
/** * This is called periodically by the RecoveryManager */ public void periodicWorkFirstPass() { // Transaction type boolean ACCoordinators = false ; // uids per transaction type InputObjectState acc_uids = new InputObjectState() ; try { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("BACoordinatorRecoveryModule: first pass"); } ACCoordinators = _recoveryStore.allObjUids( _transactionType, acc_uids ); } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_ba_BACoordinatorRecoveryModule_1(ex); } if ( ACCoordinators ) { _transactionUidVector = processTransactions( acc_uids ) ; } }
boolean inFlight = isTransactionInMidFlight( theStatus ) ;
private void processTransactionsStatus() { // Process the Vector of transaction Uids Enumeration transactionUidEnum = _transactionUidVector.elements() ; while ( transactionUidEnum.hasMoreElements() ) { Uid currentUid = (Uid) transactionUidEnum.nextElement(); try { if ( _recoveryStore.currentState( currentUid, _transactionType ) != StateStatus.OS_UNKNOWN ) { doRecoverTransaction( currentUid ) ; } } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_ba_BACoordinatorRecoveryModule_3(currentUid, ex); } } XTSBARecoveryManager.getRecoveryManager().setCoordinatorRecoveryStarted(); }
/** * This is called periodically by the RecoveryManager */ public void periodicWorkFirstPass() { // Transaction type boolean ACCoordinators = false ; // uids per transaction type InputObjectState acc_uids = new InputObjectState() ; try { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("BACoordinatorRecoveryModule: first pass"); } ACCoordinators = _recoveryStore.allObjUids( _transactionType, acc_uids ); } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_ba_BACoordinatorRecoveryModule_1(ex); } if ( ACCoordinators ) { _transactionUidVector = processTransactions( acc_uids ) ; } }
boolean inFlight = isTransactionInMidFlight( theStatus ) ;
public void periodicWorkSecondPass() { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("BACoordinatorRecoveryModule: Second pass"); } if (_transactionUidVector != null) { processTransactionsStatus() ; } // ok notify the coordinator processor that recovery processing has completed }
private void processTransactionsStatus() { // Process the Vector of transaction Uids Enumeration transactionUidEnum = _transactionUidVector.elements() ; while ( transactionUidEnum.hasMoreElements() ) { Uid currentUid = (Uid) transactionUidEnum.nextElement(); try { if ( _recoveryStore.currentState( currentUid, _transactionType ) != StateStatus.OS_UNKNOWN ) { doRecoverTransaction( currentUid ) ; } } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_ba_BACoordinatorRecoveryModule_3(currentUid, ex); } } XTSBARecoveryManager.getRecoveryManager().setCoordinatorRecoveryStarted(); }
/** * This is called periodically by the RecoveryManager */ public void periodicWorkFirstPass() { // Transaction type boolean ACCoordinators = false ; // uids per transaction type InputObjectState acc_uids = new InputObjectState() ; try { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("BACoordinatorRecoveryModule: first pass"); } ACCoordinators = _recoveryStore.allObjUids( _transactionType, acc_uids ); } catch ( ObjectStoreException ex ) { RecoveryLogger.i18NLogger.warn_coordinator_ba_BACoordinatorRecoveryModule_1(ex); } if ( ACCoordinators ) { _transactionUidVector = processTransactions( acc_uids ) ; } }
boolean inFlight = isTransactionInMidFlight( theStatus ) ;
public void periodicWorkSecondPass() { if (RecoveryLogger.logger.isDebugEnabled()) { RecoveryLogger.logger.debug("BACoordinatorRecoveryModule: Second pass"); } if (_transactionUidVector != null) { processTransactionsStatus() ; } // ok notify the coordinator processor that recovery processing has completed }