RongtongJin commented on issue #1780: question about ReferenceResource#hold
URL: https://github.com/apache/rocketmq/issues/1780#issuecomment-592351970
 
 
   IMO, it is neccessary to add `synchronized`, hold method must be mutually 
exclusive with the synchronized block below. Otherwise, it is possible that 
hold returns true and cleanup success.
   
https://github.com/apache/rocketmq/blob/73bb4b402a5da02faf9feded8f4d79dd1ba88348/store/src/main/java/org/apache/rocketmq/store/ReferenceResource.java#L56-L65
   In addition, issue is for bug report and feature request, so welcome to ask 
question on [mail list](http://rocketmq.apache.org/about/contact/).

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


With regards,
Apache Git Services

Reply via email to