Repository navigation
Replies: 5 comments 1 reply
欢迎参与开发贡献,对于backend的需求是适配上层ov的用法,比如 目录路径的过滤筛选,多tag枚举过滤等 |
|
我開了一個pr 做了 qdrant adapter |
|
Some data to ground the restore-cost discussion: the removal in #3872 ( What a restore actually costs today is not a rewrite but an adaptation over three weeks of interface drift, concentrated in three spots:
My suggestion for the maintainers: if the concern was CI/maintenance burden rather than product direction, a community-maintained path works well here — restore behind a feature flag with its test matrix running only on a If there's appetite, the concrete first step is small: |
Spike: Cost of Restoring the Qdrant Vector BackendDate: 2026-09-03 TL;DRRestoring Qdrant is a ~0.5-day change (revert + conflict resolution + green unit tests), and roughly 1–2 engineer-days end-to-end including integration tests and CI wiring. The revert produces zero Qdrant test regressions and requires zero lines of adaptation code for the three evolution points we flagged in the discussion (ACL tenant filter, explicit level filtering, sparse/content schema evolution). The shared adapter contract ( The 6 new test failures introduced by the revert are all in openGauss, which was already interface-broken before it was removed (see §5). Qdrant, by contrast, was maintained up to the day of removal. 1. Revert conflict surface
Staged result of the full revert: +5,257 / −20 lines. Qdrant-specific payload:
2. Test results
All 42 baseline failures are pre-existing local-environment issues (missing optional SDKs, packaging assertions) and are identical on both sides. The 6 new failures are all in 3. No
|
| Work item | Estimate |
|---|---|
| Revert + conflict resolution (3 hunks, ~4 lines) | < 0.5 h |
| Unit-test verification | < 0.5 h (19/19 green, no new deps) |
| Adaptation for ACL / level / sparse-content | 0 lines (all three verified compatible) |
Integration tests vs a live Qdrant server (test_qdrant_integration.py, 342 lines, restored but not exercised in this spike) |
~0.5–1 day |
CI matrix / docs polish / optional list<string> payload-index hardening (~10 lines) |
~0.5 day |
| (Optional, separable) openGauss interface catch-up | +1–2 days |
Bottom line: a mergeable Qdrant restoration PR is ~1–2 engineer-days total. The removal was 5,326 lines, but everything upstream built since (ACL, level-aware retrieval, content-field handling) was designed behind interfaces the Qdrant adapter already satisfies. We're happy to turn spike/qdrant-restore (local, not pushed) into a clean PR — Qdrant-only, leaving openGauss out — if there's interest from maintainers.
Appendix: reproduction
git worktree add ov-qdrant-spike -b spike/qdrant-restore upstream/main # f6d9dec6
cd ov-qdrant-spike
git revert --no-commit 1d02a72b # 3 conflicts: docs×2 (keep upstream ACL section), uv.lock (merge provides-extras + opengauss)
# resolve, then:
python3 -m pytest --noconftest -o addopts="" \
tests/storage/test_qdrant_adapter.py tests/storage/test_qdrant_collection.py \
tests/storage/test_qdrant_meta_store.py -q # 19 passed
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
我理解你们团队内部的考虑 ,但是这个决定基本上杀死了用户部署其他云的可能性,也减少了 OpenViking 本身的扩展性,这可能促使企业级用户寻找别的选项,毕竟每家都有自己业务绑定的云,不可能都用火山。
个人建议至少要维持一个可供移植的开源选项,如 Qdrant。
建议你们内部可以斟酌一下,毕竟刚开始维护一下也不是什么难事,这也适合和社区长期互动。多云和多 backend 的可迁移性需要社区一起来维护,这有益于 OpenViking 的长期成长。毕竟现在开源和闭源的记忆系统和文档检索工具也很多,想要大家开始用的话,社区口碑决定一切
我个人也用 OpenViking 搭建自己的本地知识库,本地的 OKF 文档结构搭配的很好,这是个很好的设计。
如果需要,个人也愿意一起参与共建第一版 working integration(Qdrant backend)
All reactions