lhotari commented on issue #10433: URL: https://github.com/apache/pulsar/issues/10433#issuecomment-829047679
> The pool here we are using is a thread-local pool, and always use the the same thread for a managed ledger to insert entry to the cache @codelipenghui it seems that [Netty's Recycler ](https://github.com/netty/netty/blob/netty-4.1.51.Final/common/src/main/java/io/netty/util/Recycler.java)is thread-local for lookup and creation, but an object can be returned to the pool in any thread. The multi-thread access seems to lead to visibility problems which are possible in the JMM. -- 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: us...@infra.apache.org