From 83b409863cc86643aa05399719c629b93c6d288d Mon Sep 17 00:00:00 2001 From: Saetch Date: Sun, 30 Jun 2024 20:48:32 +0200 Subject: [PATCH] more debug --- Cluster/coordinator/src/deal_with_nodes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/Cluster/coordinator/src/deal_with_nodes.rs b/Cluster/coordinator/src/deal_with_nodes.rs index eb6b3f6..5fe043b 100644 --- a/Cluster/coordinator/src/deal_with_nodes.rs +++ b/Cluster/coordinator/src/deal_with_nodes.rs @@ -35,6 +35,7 @@ pub async fn redistribute_values(data: Arc, hash_value: u1 break; }else{ println!("Failed to communicate with node: {} ... retrying ...", node_to_distribute_from.name); + println!("Error: {:?}", response.as_ref().err().unwrap()); std::thread::sleep(std::time::Duration::from_secs(5)); }