wy96f commented on issue #2703: ARTEMIS-2380 Fix delivering message in the case 
of consume close
URL: https://github.com/apache/activemq-artemis/pull/2703#issuecomment-526044726
 
 
   > No need for sync. Theres a new addsorted method that will put back in 
order so if you call that instead of head problem gone
   
   The sync is to make sure consumer not added in QueueImpl while transaction 
is committing or rollbacking. Without sync block, there is chance that consumer 
would be added in QueueImpl and never be removed bcs afterCommit/afterRollback 
has been called before it.

----------------------------------------------------------------
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

Reply via email to