Skip to content

Commit

Permalink
reset fail state when last xa transaction fail to execute. (#1512)
Browse files Browse the repository at this point in the history
  • Loading branch information
PanternBao authored and yanhuqing666 committed Nov 21, 2019
1 parent 28c8819 commit fd62e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class MultiNodeHandler implements ResponseHandler {
private static final Logger LOGGER = LoggerFactory.getLogger(MultiNodeHandler.class);
protected final ReentrantLock lock = new ReentrantLock();
protected final NonBlockingSession session;
private AtomicBoolean isFailed = new AtomicBoolean(false);
protected AtomicBoolean isFailed = new AtomicBoolean(false);
protected volatile String error;
protected byte packetId;
protected final AtomicBoolean errorResponse = new AtomicBoolean(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void reset() {
firstResponsed = false;
unResponseRrns.clear();
packetId = 0;
isFailed.set(false);
}

public void debugCommitDelay() {
Expand Down

0 comments on commit fd62e7a

Please sign in to comment.