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

Remove spurious lock for housekeeping thread.

Kishore Nallan1625decbea72
diff --git a/src/collection.cpp b/src/collection.cpp
index 040a1310..f18adb03 100644
--- a/src/collection.cpp
+++ b/src/collection.cpp
@@ -5215,6 +5215,5 @@ tsl::htrie_map<char, field> Collection::get_embedding_fields_unsafe() {
}
void Collection::do_housekeeping() {
- std::unique_lock lock(lifecycle_mutex);
index->repair_hnsw_index();
}