lhotari commented on PR #23874:
URL: https://github.com/apache/pulsar/pull/23874#issuecomment-2607603991

   > I guess that unblocking at this stage wouldn't cause a race where messages 
could get delivered out-of-order. At least I'm not seeing it, although I first 
thought that there could be such a case.
   
   Just to be sure, I added a similar solution in a5d2029. There's also a 
slight performance benefit that there won't be a need to run all checks when 
the hash is already blocked in one round. I used an efficient `IntSet` 
implementation from fastutil to avoid int -> Integer boxing.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to