Apache9 commented on PR #8116:
URL: https://github.com/apache/hbase/pull/8116#issuecomment-4312411433

   The MetricsSystemImpl is static so we share the same instance across HMaster 
and HRegionServer in our tests.
   
   The problem here is that, at master side we hold the MetricsSystemImpl lock 
and wants to read hbase:meta, and at the region server side when assigning 
meta, we blocked in the flush thread on MetricsSystemImpl lock.
   
   This is a typical dead lock, but may not affect real clusters since HMaster 
and HRegionServer are not in the same process in production.
   
   But it makes me a bit nervous that we will do RPC calls when holding the 
metrics lock, this is really dangerous...


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

Reply via email to