michaelandrepearce commented on a change in pull request #2803: ARTEMIS-2458
Fix AMQP Transaction Rollback Ordering
URL: https://github.com/apache/activemq-artemis/pull/2803#discussion_r315935652
##########
File path:
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/proton/transaction/ProtonTransactionHandler.java
##########
@@ -165,6 +170,16 @@ public void onError(int errorCode, String errorMessage) {
}
}
+ private void cancelRefs(ProtonTransactionImpl tx) throws Exception {
+ List<MessageReference> toCancel = new ArrayList<>();
Review comment:
actually will be cleaner just to invoke rollback in serversession impl, then
will have same logic, and will gain from having any other fixes. just updated
to make to do just that.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services