Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added grpc as a valid protocol for uri #2090

Merged
merged 2 commits into from
May 17, 2024

Conversation

brunocfnba
Copy link
Contributor

Added grpc protocol to connection uri validation. Not having it was preventing grpc connections with the following error: <ConnectionConfigException: (code=1, message=Open local milvus failed, dir: grpc: is not exists)>

@XuanYang-cn
Copy link
Contributor

@brunocfnba great work!

To pass the code checker actions, please use make format to format the codes

@mergify mergify bot added needs-dco and removed dco-passed labels May 16, 2024
brunocfnba and others added 2 commits May 16, 2024 10:02
…unocfnba@gmail.com>

Added grpc protocol to connection uri validation. Not having it was preventing grpc connections with the following error: <ConnectionConfigException: (code=1, message=Open local milvus failed, dir: grpc: is not exists)>

Signed-off-by: Bruno Faria <brunocfnba@gmail.com>
Signed-off-by: Bruno Faria <brunocf@ibm.com>
Signed-off-by: Bruno Faria <brunocf@ibm.com>
@brunocfnba
Copy link
Contributor Author

/assign @longjiquan

@XuanYang-cn XuanYang-cn added the PR | need to cherry-pick to 2.x This PR need to be cherry-picked to 2.x branch label May 17, 2024
@mergify mergify bot added the ci-passed label May 17, 2024
Copy link
Contributor

@XuanYang-cn XuanYang-cn left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brunocfnba, XuanYang-cn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 473f62f into milvus-io:master May 17, 2024
9 checks passed
@XuanYang-cn XuanYang-cn added PR | cherry-picked to 2.x PR already cherry-picked to branch 2.x and removed PR | need to cherry-pick to 2.x This PR need to be cherry-picked to 2.x branch labels Nov 15, 2024
XuanYang-cn added a commit to XuanYang-cn/pymilvus that referenced this pull request Nov 15, 2024
- Added grpc as a valid protocol for uri (milvus-io#2090)
- build(deps): bump urllib3 from 1.26.18 to 1.26.19 (milvus-io#2140)
- build(deps): bump certifi from 2023.7.22 to 2024.7.4 (milvus-io#2170)
- feat(pymilvus/settings.py): Load configuration without altering the environment (milvus-io#2192)
- feat: Add compact, get_server_version and flush api (milvus-io#2326)
- Fix typo and correct grammar (milvus-io#2333)
- Update return type of describe_role to Dict (milvus-io#2337)
- enhance: Reorganize the examples (milvus-io#2340)

Related: milvus-io#2166, milvus-io#2325, milvus-io#2332

Co-authored-by: Bruno Faria <brunocf@ibm.com>
Co-authored-by: Bruno Faria <brunocfnba@gmail.com>
Co-authored-by: dependabot[bot] <support@github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: zhenshan.cao <zhenshan.cao@zilliz.com>
Co-authored-by: NamCaoHai <namch.hust@gmail.com>
Co-authored-by: yangxuan <xuan.yang@zilliz.com>
XuanYang-cn added a commit to XuanYang-cn/pymilvus that referenced this pull request Nov 15, 2024
- Added grpc as a valid protocol for uri (milvus-io#2090)
- build(deps): bump urllib3 from 1.26.18 to 1.26.19 (milvus-io#2140)
- build(deps): bump certifi from 2023.7.22 to 2024.7.4 (milvus-io#2170)
- feat(pymilvus/settings.py): Load configuration without altering the environment (milvus-io#2192)
- feat: Add compact, get_server_version and flush api (milvus-io#2326)
- Fix typo and correct grammar (milvus-io#2333)
- Update return type of describe_role to Dict (milvus-io#2337)
- enhance: Reorganize the examples (milvus-io#2340)

Related: milvus-io#2166, milvus-io#2325, milvus-io#2332

Co-authored-by: Bruno Faria <brunocf@ibm.com>
Co-authored-by: Bruno Faria <brunocfnba@gmail.com>
Co-authored-by: dependabot[bot] <support@github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: zhenshan.cao <zhenshan.cao@zilliz.com>
Co-authored-by: NamCaoHai <namch.hust@gmail.com>
Co-authored-by: yangxuan <xuan.yang@zilliz.com>
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Nov 25, 2024
- Added grpc as a valid protocol for uri (#2090)
- build(deps): bump urllib3 from 1.26.18 to 1.26.19 (#2140)
- build(deps): bump certifi from 2023.7.22 to 2024.7.4 (#2170)
- feat(pymilvus/settings.py): Load configuration without altering the
environment (#2192)
- feat: Add compact, get_server_version and flush api (#2326)
- Fix typo and correct grammar (#2333)
- Update return type of describe_role to Dict (#2337)
- enhance: Reorganize the examples (#2340)

Related: #2166, #2325, #2332

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
Co-authored-by: Bruno Faria <brunocfnba@gmail.com>
Co-authored-by: Bruno Faria <brunocf@ibm.com>
Co-authored-by: dependabot[bot] <support@github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: zhenshan.cao <zhenshan.cao@zilliz.com>
Co-authored-by: NamCaoHai <namch.hust@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants