diff --git a/lightrag/kg/milvus_impl.py b/lightrag/kg/milvus_impl.py index 7c4edcd3..db5ab6a7 100644 --- a/lightrag/kg/milvus_impl.py +++ b/lightrag/kg/milvus_impl.py @@ -589,18 +589,6 @@ class MilvusVectorDBStorage(BaseVectorStorage): """Create collection if not exists and check existing collection compatibility""" try: - # First, list all collections to see what actually exists - try: - all_collections = self._client.list_collections() - logger.debug( - f"[{self.workspace}] All collections in database: {all_collections}" - ) - except Exception as list_error: - logger.warning( - f"[{self.workspace}] Could not list collections: {list_error}" - ) - all_collections = [] - # Check if our specific collection exists collection_exists = self._client.has_collection(self.final_namespace) logger.info( diff --git a/lightrag/lightrag.py b/lightrag/lightrag.py index 7421a4fd..d6822296 100644 --- a/lightrag/lightrag.py +++ b/lightrag/lightrag.py @@ -545,6 +545,7 @@ class LightRAG: self.doc_status, ): if storage: + # logger.debug(f"Initializing storage: {storage}") await storage.initialize() self._storages_status = StoragesStatus.INITIALIZED