Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Change log level to warning when nodes file is empty.

Kishore Nallan044be85006f8
diff --git a/src/typesense_server_utils.cpp b/src/typesense_server_utils.cpp
index 89386caa..6b4b214e 100644
--- a/src/typesense_server_utils.cpp
+++ b/src/typesense_server_utils.cpp
@@ -268,7 +268,7 @@ int start_raft_server(ReplicationState& replication_state, const std::string& st
// reset peer configuration periodically to identify change in cluster membership
const Option<std::string> & refreshed_nodes_op = fetch_nodes_config(path_to_nodes);
if(!refreshed_nodes_op.ok()) {
- LOG(ERROR) << "Error while refreshing peer configuration: " << refreshed_nodes_op.error();
+ LOG(WARNING) << "Error while refreshing peer configuration: " << refreshed_nodes_op.error();
continue;
}
const std::string& nodes_config = ReplicationState::to_nodes_config(peering_endpoint, api_port,