wwbmmm commented on issue #1715:
URL: 
https://github.com/apache/incubator-brpc/issues/1715#issuecomment-1062621711


   get_var_maps() returns an array with multiple VarMapWithLock, each has a 
lock, there's no global lock. 
   Maybe it was designed for performance, the count result is not accurate, it 
is used in Variable::list_exposed() to reserve a vector.


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