pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] merlimat opened a new pull request #2995: Use AbstractCASReferenceCounted to ensure entry.retain() is valid
Date Fri, 16 Nov 2018 00:58:11 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message