/** * test whether a transaction has been restored without its proxy participant. this indicates that * we crashed between preparing the suborindate TX and logging the proxy participant. * @return */ public boolean isOrphaned() { String id = get_uid().stringForm(); if (isActiveProxy(id)) { return false; } // the proxy may have been removed because this tx has been resolved while we were checking if (getRecoveredCoordinator(id) == null) { return false; } // ok we have a tx but no proxy so this is really an orphan return true; }
/** * test whether a transaction has been restored without its proxy participant. this indicates that * we crashed between preparing the suborindate TX and logging the proxy participant. * @return */ public boolean isOrphaned() { String id = get_uid().stringForm(); if (isActiveProxy(id)) { return false; } // the proxy may have been removed because this tx has been resolved while we were checking if (getRecoveredCoordinator(id) == null) { return false; } // ok we have a tx but no proxy so this is really an orphan return true; }
if (SubordinateBACoordinator.getRecoveredCoordinator(recoverUid.stringForm()) != null) { return;
if (SubordinateBACoordinator.getRecoveredCoordinator(recoverUid.stringForm()) != null) { return;
if (SubordinateBACoordinator.getRecoveredCoordinator(recoverUid.stringForm()) != null) { return;
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);
coordinator = SubordinateBACoordinator.getRecoveredCoordinator(coordinatorId);