Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yuee3 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
milvus-io#3865) Signed-off-by: yuee3 <yuee3@users.noreply.github.com>
yuee3
force-pushed
the
fix/async-list-aliases-no-collection
branch
from
November 5, 2026 02:48
49e6712 to
50394de
Compare
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
Author
|
Closing as a duplicate of #3866, which already addresses this issue. Sorry for the noise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3865
Summary
AsyncMilvusClient.list_aliases()lists every alias by callingAsyncGrpcHandler.list_aliases()with an empty collection name. The async handler unconditionally rancheck_pass_param(collection_name=""), which rejects the empty name withParamError, so the "all aliases" path of the async client could never succeed. The handler also droppeddb_name, unlike the synchronous handler.Fix
collection_namewhen it is non-empty.db_nametoPrepare.list_aliases_request, matchingGrpcHandler.list_aliases.Test
Added
test_list_aliases_without_collection_nametotests/unit/async_grpc_handler/test_async_index.py. It fails on master withParamErrorand now verifies thatdb_namereaches the request.pytest tests/unit/async_grpc_handler/test_async_index.py-> 21 passed; black/ruff clean.