merlimat opened a new pull request #2995: Use AbstractCASReferenceCounted to ensure entry.retain() is valid URL: https://github.com/apache/pulsar/pull/2995 ### Motivation This will fix the root case of #2993 by using a version of `AbstractReferenceCounted` based on `compareAndSet()` rather than optimistic counter increase. This would ensure that when calling `entry.retain()`, if we don't get an exception the entry is guaranteed to be valid. More detailed discussion at https://github.com/netty/netty/issues/8563
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
