TransactionXid globalXid = xidFactory.createGlobalXid(branchXid.getGlobalTransactionId());
try {
current.rollback(globalXid);
current.setRolledback(true);
current.setCompleted(true);
<BUG>transactionLogger.updateCoordinator(current);
} catch (XAException ex) {</BUG>
success = false;
<BUG>logger.error("[{}] rollback-transaction: error occurred while cancelling branch: {}",
</BUG>
ByteUtils.byteArrayToString(branchXid.getGlobalTransactionId()), this.archive, ex);

TransactionXid globalXid = xidFactory.createGlobalXid(branchXid.getGlobalTransactionId());
try {
current.rollback(globalXid);
current.setRolledback(true);
current.setCompleted(true);
transactionLogger.updateCoordinator(current);
logger.info("{}| cancel remote branch: {}", ByteUtils.byteArrayToString(branchXid
.getGlobalTransactionId()), current.getDescriptor().getIdentifier());
} catch (XAException ex) {
success = false;
logger.error("{}| error occurred while cancelling branch: {}",
ByteUtils.byteArrayToString(branchXid.getGlobalTransactionId()), this.archive, ex);
