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


   @codelipenghui The pool is a thread-local pool, but the instance might be 
returned to a pool where it wasn't initially created, no?
   
   Thanks for pointing to the OpAddEntry code location. I initially didn't 
realize that the code had both `entry` and `cachedEntry` and that it's the 
`entry.data` that is null and the source for the field is `OpAddEntry.data` as 
you pointed out.
   
   
https://github.com/apache/pulsar/blob/8ea4a39dc8bf6f2f23a160688bb70a80f6acfd4d/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpAddEntry.java#L162-L176
   
   Even with this updated information, the problem is "impossible"... :) This 
seems to be a nice Java Concurrency puzzler.
   
   
   


-- 
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:
[email protected]


Reply via email to