Skip to content

Conversation

@letonghan
Copy link
Collaborator

Description

Support MongoDB based on OPEAStore

Issues

Fixes #1576

Type of change

List the type of change like below. Please delete options that are not relevant.

  • New feature (non-breaking change which adds new functionality)

Dependencies

None

Tests

Local tested

@pre-commit-ci pre-commit-ci bot requested a review from XinyuYe-Intel as a code owner June 26, 2025 06:10
@joshuayao joshuayao added this to the v1.4 milestone Jun 30, 2025
@codecov
Copy link

codecov bot commented Jun 30, 2025

Codecov Report

Attention: Patch coverage is 65.88235% with 58 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
comps/cores/storages/mongodb.py 63.52% 58 Missing ⚠️
Files with missing lines Coverage Δ
comps/cores/proto/docarray.py 99.74% <100.00%> (ø)
comps/cores/storages/__init__.py 87.50% <100.00%> (+7.50%) ⬆️
comps/cores/storages/mongodb.py 63.52% <63.52%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@lkk12014402 lkk12014402 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@letonghan letonghan merged commit 3df541b into opea-project:main Jun 30, 2025
17 checks passed
WenjiaoYue pushed a commit that referenced this pull request Jul 7, 2025
* support mongo for storage

Signed-off-by: letonghan <[email protected]>

* revert unrelated changes

Signed-off-by: letonghan <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add dependency motor

Signed-off-by: letonghan <[email protected]>

* fix import path

Signed-off-by: letonghan <[email protected]>

* change DocList to List, for current version of docarray

Signed-off-by: letonghan <[email protected]>

---------

Signed-off-by: letonghan <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Porting MongoDB to OPEAStore

5 participants