From 51ab03a1ebb077d39cec043f410e60f3eae0b182 Mon Sep 17 00:00:00 2001 From: Remi Dettai Date: Thu, 7 Mar 2024 08:06:00 +0000 Subject: [PATCH] Add extra warning when failing to resolve all seeds --- quickwit/quickwit-config/src/node_config/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quickwit/quickwit-config/src/node_config/mod.rs b/quickwit/quickwit-config/src/node_config/mod.rs index c593c13eb2b..839d760ade1 100644 --- a/quickwit/quickwit-config/src/node_config/mod.rs +++ b/quickwit/quickwit-config/src/node_config/mod.rs @@ -458,6 +458,9 @@ impl NodeConfig { } peer_seed_addrs.push(peer_seed_addr.to_string()) } + if !self.peer_seeds.is_empty() && peer_seed_addrs.is_empty() { + warn!("failed to resolve all the peer seed addresses") + } Ok(peer_seed_addrs) }