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

   > > The data array is mutated and read under 2 separate locks which doesn't 
seem right.
   > 
   > @lhotari All guarded by `headLock`?
   
   @Jason918 it's not all guarded by `headLock`. for example, `put` isn't 
guarded by `headLock`. 
   There's a thread safety issue in `GrowableArrayBlockingQueue` since the 
`data` array is mutated and read under 2 separate locks. 


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