yxl1014 commented on issue #15735:
URL: https://github.com/apache/pulsar/issues/15735#issuecomment-1135552464

   Triplelongpriorityqueue is obviously not a thread safe queue. It is just an 
ordered queue based on bytebuf, which is used to store the index of long type 
and the delay time of long type. When you use it in the outer layer, you need 
to lock it to ensure its thread safety.


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to