Skip to content

Comments

[Backport 2.6] fix: unpack _get_schema tuple return in _list_vector_indexes (#3275)#3276

Merged
sre-ci-robot merged 1 commit into2.6from
backport-3275-to-2.6-1770720409-3473
Feb 10, 2026
Merged

[Backport 2.6] fix: unpack _get_schema tuple return in _list_vector_indexes (#3275)#3276
sre-ci-robot merged 1 commit into2.6from
backport-3275-to-2.6-1770720409-3473

Conversation

@pymilvus-bot
Copy link
Collaborator

Backport of #3275 to 2.6.

## Summary
- `_get_schema` returns `(schema_dict, schema_timestamp)` tuple, but
`_list_vector_indexes` was assigning the whole tuple to `schema_dict`,
causing subsequent `.get()` calls to fail.
- Fix by unpacking the tuple with `schema_dict, _ = ...`.

## Test plan
- [x] Verify `_list_vector_indexes` works correctly after the fix

---------

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
(cherry picked from commit 921e74b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described here

Details 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

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.89%. Comparing base (c1200a4) to head (6091663).
⚠️ Report is 1 commits behind head on 2.6.

Additional details and impacted files
@@            Coverage Diff             @@
##              2.6    #3276      +/-   ##
==========================================
+ Coverage   75.79%   75.89%   +0.10%     
==========================================
  Files          62       62              
  Lines       12812    12812              
==========================================
+ Hits         9711     9724      +13     
+ Misses       3101     3088      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify bot added the ci-passed label Feb 10, 2026
@sre-ci-robot sre-ci-robot merged commit 93bd7d7 into 2.6 Feb 10, 2026
13 checks passed
@XuanYang-cn XuanYang-cn deleted the backport-3275-to-2.6-1770720409-3473 branch February 10, 2026 11:06
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