You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/06/17 02:16:28 UTC

[GitHub] [rocketmq] imaffe commented on issue #2094: MappedFile shutdown problem

imaffe commented on issue #2094:
URL: https://github.com/apache/rocketmq/issues/2094#issuecomment-645105895


   I think here( -1000 - this.getRefCount()) probably means : it just want to set the refCount to a negative value indicating a  shutdown. (-1000) is just a "negative enough" number that guarantees the result (-1000 - this.getRefCount()) will always be negative. How do you think ?


----------------------------------------------------------------
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:
users@infra.apache.org