From 56fa3a09c8ca2d8ddc26c5fed2671d8479bb493e Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 8 Jan 2019 08:53:15 -0800 Subject: [PATCH] Surface the spy node's id, useful for log analysis --- bench-tps/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bench-tps/src/main.rs b/bench-tps/src/main.rs index e6fef1298..6827e85a1 100644 --- a/bench-tps/src/main.rs +++ b/bench-tps/src/main.rs @@ -36,6 +36,7 @@ fn converge( ) -> (Vec, Option, GossipService) { //lets spy on the network let (node, gossip_socket) = ClusterInfo::spy_node(); + println!("Spy node: {}", node.id); let mut spy_cluster_info = ClusterInfo::new(node); spy_cluster_info.insert_info(leader.clone()); spy_cluster_info.set_leader(leader.id);