Search before asking
Description
Currently, MetricRegistry and MetricEntity use SpinLock to solve concurrency problems. However when MetricRegistry call trigger_all_hooks, these triggered hook functions may acquire other mutex, and these mutex may be held during some long time work.


i.e. LoadChannelMgr::_lock may be held during MemTable flush.
Solution
No response
Are you willing to submit PR?
Code of Conduct