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]: Can't create partition: grpc._channel._MultiThreadedRendezvous #40237

Closed
1 task done
thewebscraping opened this issue Feb 27, 2025 · 5 comments
Closed
1 task done
Assignees
Labels
kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. severity/critical Critical, lead to crash, data missing, wrong result, function totally doesn't work.

Comments

@thewebscraping
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version: 2.5.4
- Deployment mode(standalone or cluster): Local client
- OS(Ubuntu or CentOS): Mac M1

Current Behavior

Can't create partition

client.create_partition('test', 'ABC')

Errors:

2025-02-27 02:28:11,082 [ERROR][handler]: grpc RpcError: [create_partition], <_MultiThreadedRendezvous: StatusCode.UNIMPLEMENTED, >, <Time:{'RPC start': '2025-02-27 02:28:11.014022', 'gRPC error': '2025-02-27 02:28:11.077033'}> (decorators.py:151)
Traceback (most recent call last):
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/IPython/core/interactiveshell.py", line 3577, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-5-bcecd3055bc4>", line 1, in <module>
    obj.client.create_partition('test', 'ABC')
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 1102, in create_partition
    conn.create_partition(collection_name, partition_name, timeout=timeout, **kwargs)
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/decorators.py", line 155, in handler
    raise e from e
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/decorators.py", line 137, in handler
    return func(*args, **kwargs)
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/decorators.py", line 176, in handler
    return func(self, *args, **kwargs)
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/decorators.py", line 90, in handler
    raise e from e
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/decorators.py", line 86, in handler
    return func(*args, **kwargs)
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/pymilvus/client/grpc_handler.py", line 436, in create_partition
    response = rf.result()
  File "/Users/twofarm/Desktop/works/vectors/.venv/lib/python3.10/site-packages/grpc/_channel.py", line 883, in result
    raise self
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNIMPLEMENTED
	details = ""
	debug_error_string = "UNKNOWN:Error received from peer  {grpc_message:"", grpc_status:12, created_time:"2025-02-27T02:28:11.061424-06:00"}"
>

Expected Behavior

No response

Steps To Reproduce

1. Create collection `client.create_collection`
2. Create partition `client.create_partition`

Milvus Log

No response

Anything else?

No response

@thewebscraping thewebscraping 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 Feb 27, 2025
Copy link

dosubot bot commented Feb 27, 2025

Hey @thewebscraping, I'm here to help you with any bugs, questions, or contributions you have regarding Milvus. Let me know how I can assist you!

The StatusCode.UNIMPLEMENTED error you're encountering indicates that the create_partition method is not implemented in the current version of Milvus you are using. This is a known issue where certain methods may be defined but not yet implemented, resulting in this specific error code [1].

To resolve this, you can check if there is an updated version of Milvus where this functionality is implemented. Alternatively, you might want to explore other ways to manage partitions or check the Milvus documentation for any updates or workarounds related to partition management.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot dosubot bot added the severity/critical Critical, lead to crash, data missing, wrong result, function totally doesn't work. label Feb 27, 2025
@xiaofan-luan
Copy link
Collaborator

are u using milvus lite?
right now milvus lite don't support partiiton.
Please create issue at milvus-lite repo

@thewebscraping
Copy link
Author

@xiaofan-luan
Yes, I'm using Milvus Lite
It's only work with Standalone and Distributed?

@xiaofan-luan
Copy link
Collaborator

right now yes

@yanliang567
Copy link
Contributor

please retry on milvus. I'd close this issue

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 needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. severity/critical Critical, lead to crash, data missing, wrong result, function totally doesn't work.
Projects
None yet
Development

No branches or pull requests

3 participants