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

[Bug]: MilvusClient创建连接,db_name失效 #38936

Open
1 task done
husongjiang opened this issue Jan 2, 2025 · 5 comments
Open
1 task done

[Bug]: MilvusClient创建连接,db_name失效 #38936

husongjiang opened this issue Jan 2, 2025 · 5 comments
Assignees
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@husongjiang
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:v2.4.15
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

from pymilvus import MilvusClient
client = MilvusClient(uri="http://127.0.0.1:8084",db_name="NT")
client = MilvusClient(uri="http://127.0.0.1:8084/",db_name="NT")
使用第二种方式连接,即当uri中端口后带上"/"时,指定db_name失效,使用到default。

Expected Behavior

client = MilvusClient(uri="http://127.0.0.1:8084/",db_name="NT") 应该连接到NT数据库。

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@husongjiang husongjiang added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jan 2, 2025
Copy link
Contributor

github-actions bot commented Jan 2, 2025

The title and description of this issue contains Chinese. Please use English to describe your issue.

@yanliang567
Copy link
Contributor

good catch!
@shaoting-huang could you please help to take a look

/assign @shaoting-huang
/unassign

@sre-ci-robot
Copy link
Contributor

@yanliang567: GitHub didn't allow me to assign the following users: shaoting-huang.

Note that only milvus-io members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

good catch!
@shaoting-huang could you please help to take a look

/assign @shaoting-huang
/unassign

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yanliang567 yanliang567 added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jan 2, 2025
@yanliang567
Copy link
Contributor

/assign @binbinlv
We need to add test for this scenario.

@binbinlv
Copy link
Contributor

binbinlv commented Jan 2, 2025

/assign @binbinlv We need to add test for this scenario.

OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

5 participants