From 49d076a7ca6e33e97914e5003739b55c50397a71 Mon Sep 17 00:00:00 2001 From: Max Isom Date: Wed, 24 Jul 2024 13:57:27 -0700 Subject: [PATCH] Fix distributed tests --- chromadb/logservice/logservice.py | 5 +++++ chromadb/segment/impl/vector/local_persistent_hnsw.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/chromadb/logservice/logservice.py b/chromadb/logservice/logservice.py index 4902984f14a3..8fe151fda2a6 100644 --- a/chromadb/logservice/logservice.py +++ b/chromadb/logservice/logservice.py @@ -74,6 +74,11 @@ def reset_state(self) -> None: def delete_log(self, collection_id: UUID) -> None: raise NotImplementedError("Not implemented") + @trace_method("LogService.clean_log", OpenTelemetryGranularity.ALL) + @override + def clean_log(self, collection_id: UUID) -> None: + raise NotImplementedError("Not implemented") + @trace_method("LogService.submit_embedding", OpenTelemetryGranularity.ALL) @override def submit_embedding( diff --git a/chromadb/segment/impl/vector/local_persistent_hnsw.py b/chromadb/segment/impl/vector/local_persistent_hnsw.py index fe04bbbbeebd..26c5aaf1e570 100644 --- a/chromadb/segment/impl/vector/local_persistent_hnsw.py +++ b/chromadb/segment/impl/vector/local_persistent_hnsw.py @@ -114,7 +114,6 @@ def __init__(self, system: System, segment: Segment): ) self._dimensionality = self._persist_data.dimensionality self._total_elements_added = self._persist_data.total_elements_added - # self._max_seq_id = self._persist_data.max_seq_id self._id_to_label = self._persist_data.id_to_label self._label_to_id = self._persist_data.label_to_id self._id_to_seq_id = self._persist_data.id_to_seq_id