Skip to content

Server is not forbidden to create new partition which tag is "_default" #1762

Closed
@BossZou

Description

Describe the bug
Currently each collection has a default partition which tag is "_default". However, user still can create a partition with tag "_default" successfully. This behavior is confusing.

>>> client = Milvus()
>>> client.create_collection({"collection_name": "test_default_partition", "dimension": 128})
>>> status = client.create_partition("test_default_partition", "_default")
Status(code=0, message='OK')

Metadata

Assignees

Labels

kind/bugIssues or changes related a bugpriority/urgentMust be staffed and worked on either currently, or very soon, ideally in time for the next release.severity/majorMajor, major function doesn't work under some condition.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions