mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-17 17:17:47 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user