530531532533534535536537538539540
if (!info.getStageOneFile().canWrite() || !m_primaryDirectory.canWrite()) { return false; } journal.addRecord(new FileJournalRecordIncomingDelete(xid, info.getStageOneFile().getAbsolutePath(), info.getStageOneLockableFile()) ); } else {
426427428429430431432433434435436437
if (bRecovery) { throw new XAException(XAException.XA_HEURRB); } FileJournalRecordIncomingDelete incomingDelete = (FileJournalRecordIncomingDelete)opRecord; incoming = incomingDelete.getFileHandle(); assert incoming != null; incoming.truncate(); incoming.closeAndDelete();