Closed
Description
Description
#4393 introduces some new usage of RwLock
in beacon_node_fallback
. This ensures safe, concurrent access to node health data across threads. We've done a round of review on this and don't think there's any deadlock risk, or any locks being held for too long, however there are areas we could potentially simplify and improve on:
- Gather some test metrics to make sure requests are sent timely to BNs
- Scan the code with
lockbud
(Get lockbud running again #6413) - Add extensive tests for beacon node fallback (WIP branch with some test rig)
- This review comment to simplify some logic