Skip to content

Commit

Permalink
[WFTC-75] unfinished XA commit records needs to be recorded for furth…
Browse files Browse the repository at this point in the history
…er recovery processing
  • Loading branch information
ochaloup committed Aug 29, 2019
1 parent bd760e9 commit 3d69602
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void commit(final Xid xid, final boolean onePhase) throws XAException {
try {
if (commitToEnlistment()) lookup(xid).commit(onePhase);
} catch (XAException | RuntimeException exception) {
if (onePhase && resourceRegistry != null)
if (resourceRegistry != null)
resourceRegistry.resourceInDoubt(this);
throw exception;
}
Expand Down

0 comments on commit 3d69602

Please # to comment.