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)); }