TransactionXid globalXid = xidFactory.createGlobalXid(branchXid.getGlobalTransactionId());
try {
current.commit(globalXid, true);
current.setCommitted(true);
current.setCompleted(true);
<BUG>transactionLogger.updateCoordinator(current);
} catch (XAException ex) {
success = false;</BUG>
switch (ex.errorCode) {
case XAException.XA_HEURCOM:

TransactionXid globalXid = xidFactory.createGlobalXid(branchXid.getGlobalTransactionId());
try {
current.commit(globalXid, true);
current.setCommitted(true);
current.setCompleted(true);
transactionLogger.updateCoordinator(current);
logger.info("{}| confirm remote branch: {}", ByteUtils.byteArrayToString(branchXid
.getGlobalTransactionId()), current.getDescriptor().getIdentifier());
} catch (XAException ex) {
switch (ex.errorCode) {
case XAException.XA_HEURCOM:
