From b1e63639cd6a4f1830e4f5873be7f06ba99c9e71 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 28 Sep 2025 21:17:07 +0200 Subject: [PATCH] ADD FAT WARNING - QDRANT --- .../open_webui/retrieval/vector/dbs/qdrant_multitenancy.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py b/backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py index ed4a8bab34..3338341ba9 100644 --- a/backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py +++ b/backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py @@ -105,6 +105,13 @@ class QdrantClient(VectorDBBase): Returns: tuple: (collection_name, tenant_id) + + WARNING: This mapping relies on current Open WebUI naming conventions for + collection names. If Open WebUI changes how it generates collection names + (e.g., "user-memory-" prefix, "file-" prefix, web search patterns, or hash + formats), this mapping will break and route data to incorrect collections. + POTENTIALLY CAUSING HUGE DATA CORRUPTION, DATA CONSISTENCY ISSUES AND INCORRECT + DATA MAPPING INSIDE THE DATABASE. """ # Check for user memory collections tenant_id = collection_name