open-webui/backend/open_webui/retrieval/vector/dbs
Classic298 ea1b58eb6a
fix: apply the shared metadata size cap to the last four vector DB backends (#29502)
Chunk metadata inserted into the vector DB carries arbitrary client-
supplied fields (e.g. custom metadata from file uploads), so it needs
the same size cap, type coercion and null-byte sanitization every
other backend already applies through process_metadata(). Four
backends never called it: Qdrant, Qdrant multitenancy, Milvus
multitenancy and Oracle23ai, so an oversized or malformed metadata
blob went into those unfiltered.

Wire process_metadata() in at each backend's single insert/upsert
chokepoint, matching the pattern already used by the other eleven
backends.
2026-09-04 11:42:20 -04:00
..
chroma.py perf: build debug log messages lazily so disabled debug logs cost nothing (#27834) 2026-07-31 19:09:01 -05:00
elasticsearch.py refac 2026-08-25 16:27:17 -04:00
mariadb_vector.py refac 2026-07-31 17:41:14 -04:00
milvus.py refac 2026-08-25 16:27:17 -04:00
milvus_multitenancy.py fix: apply the shared metadata size cap to the last four vector DB backends (#29502) 2026-09-04 11:42:20 -04:00
opengauss.py refac 2026-08-25 16:27:17 -04:00
opensearch.py refac 2026-08-25 16:27:17 -04:00
oracle23ai.py fix: apply the shared metadata size cap to the last four vector DB backends (#29502) 2026-09-04 11:42:20 -04:00
pgvector.py fix: apply RDS IAM token auth to the pgvector engine (#27754) 2026-08-24 07:35:19 -04:00
pinecone.py refac 2026-08-25 16:27:17 -04:00
qdrant.py fix: apply the shared metadata size cap to the last four vector DB backends (#29502) 2026-09-04 11:42:20 -04:00
qdrant_multitenancy.py fix: apply the shared metadata size cap to the last four vector DB backends (#29502) 2026-09-04 11:42:20 -04:00
s3vector.py refac 2026-08-25 16:27:17 -04:00
valkey.py perf: build info log messages lazily so raising the log level actually saves work (#27837) 2026-08-02 15:39:10 -05:00
weaviate.py refac 2026-08-25 16:27:17 -04:00