layout: move block_read_nodes_of to rpc_helper to avoid double-locking

(in theory, this could have caused a deadlock)
This commit is contained in:
Alex Auvolat
2023-12-08 12:02:24 +01:00
parent 063294dd56
commit 5dd200c015
3 changed files with 80 additions and 70 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ impl BlockManager {
{
let who = self
.system
.cluster_layout()
.rpc_helper()
.block_read_nodes_of(hash, self.system.rpc_helper());
for node in who.iter() {