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

Don't send proxy logs through raft log.

Kishore Nallan3a8a3997835a
diff --git a/src/http_server.cpp b/src/http_server.cpp
index f72de8da..813ee450 100644
--- a/src/http_server.cpp
+++ b/src/http_server.cpp
@@ -547,7 +547,9 @@ bool HttpServer::is_write_request(const std::string& root_resource, const std::s
return false;
}
- bool write_free_request = (root_resource == "multi_search" || root_resource == "operations");
+ bool write_free_request = (root_resource == "multi_search" || root_resource == "proxy" ||
+ root_resource == "operations");
+
if(!write_free_request &&
(http_method == "POST" || http_method == "PUT" ||
http_method == "DELETE" || http_method == "PATCH")) {