Verify TPU and serve repair ports are reachable (#10291)
This commit is contained in:
parent
34796d2c81
commit
f60b101920
|
@ -1089,7 +1089,23 @@ pub fn main() {
|
|||
}
|
||||
|
||||
if let Some(ref cluster_entrypoint) = cluster_entrypoint {
|
||||
let udp_sockets = vec![&node.sockets.gossip, &node.sockets.repair];
|
||||
let udp_sockets = [
|
||||
node.sockets.tpu.first(),
|
||||
/*
|
||||
Enable these ports when `IpEchoServerMessage` supports more than 4 UDP ports:
|
||||
node.sockets.tpu_forwards.first(),
|
||||
node.sockets.tvu.first(),
|
||||
node.sockets.tvu_forwards.first(),
|
||||
node.sockets.broadcast.first(),
|
||||
node.sockets.retransmit_sockets.first(),
|
||||
*/
|
||||
Some(&node.sockets.gossip),
|
||||
Some(&node.sockets.repair),
|
||||
Some(&node.sockets.serve_repair),
|
||||
]
|
||||
.iter()
|
||||
.filter_map(|x| *x)
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let mut tcp_listeners = vec![];
|
||||
if !private_rpc {
|
||||
|
|
Loading…
Reference in New Issue