lhotari commented on issue #14436:
URL: https://github.com/apache/pulsar/issues/14436#issuecomment-1064911355


   > > Most likely this behavioral changes is caused by the new Netty Recycler 
that was introduced in Netty 4.1.71.Final. My assumption is that the new 
implementation is more efficient and brings thread safety issues to the surface.
   > 
   > I have tested with congbo, can't actually prove it for now. After 
downgrading the netty version, the problem still can be reproduced, and 
regarding the timing of the reproducing, it is uncertain even to use the same 
netty version.
   > 
   > So far, we don't have an exact root cause, since the problem can be 
reproduced, I think we can find the root cause.
   
   I meant to say that after the new Netty Recycler, it just happens to be more 
frequent. That's not the root cause. The root cause is the violation of the 
Java Memory Model and thread safety rules with the use of recycled objects 
across multiple threads. 


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