chenBright commented on issue #3121:
URL: https://github.com/apache/brpc/issues/3121#issuecomment-3445579629

   > 
在正常使用过程中,当一个槽位的VersionOfVRefId超出2**29时,持有对应槽位的VersionOfVRefId为0等一系列较低的VersionOfVRefId的引用应该已经被销毁,不应该会导致错误
   
   这是不安全的,其他线程可以获取到低槽位的VersionOfVRefId。
   
   > 试图占用VRefId中代表VersionOfVRefId的前32位中的三位做其他标志
   
   或许可以通过控制ResourcePool总槽位量为2^29,保留三位自用。


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to