Xid branchXid = xidFactory.recover(formatId, globalId, branchBranchId);
int nameLength = raw.getShort();
byte[] nameBytes = new byte[nameLength];
raw.get(nameBytes);
String name = new String(nameBytes);
TransactionBranchInfoImpl branchInfo = new TransactionBranchInfoImpl(branchXid, name);
xidBranchesPair.addBranch(branchInfo);
// log.info("recovered branch for resource manager, branchId " + name + ", " + branchXid);
}
} else if (type == COMMIT || type == ROLLBACK) {
recoveredTx.remove(masterXid);