Skip to content

feat: Check per-node shard status in wait_for_vector_indexing - #2127

Open
bevzzz wants to merge 6 commits into
mainfrom
fix/wait-for-vector-indexing
Open

feat: Check per-node shard status in wait_for_vector_indexing#2127
bevzzz wants to merge 6 commits into
mainfrom
fix/wait-for-vector-indexing

Conversation

@bevzzz

@bevzzz bevzzz commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

This PR is going to deprecate shard.status and shard.vectorQueueSize fields and introduce per_node_status in its stead. We need to update wait_for_vector_indexing to use this information when waiting for shards to get READY.

@bevzzz
bevzzz requested a review from tsmith023 August 11, 2026 11:26

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@codecov-commenter

codecov-commenter commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.14286% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.51%. Comparing base (95b5d76) to head (4f3d340).
⚠️ Report is 79 commits behind head on main.

Files with missing lines Patch % Lines
integration/test_batch_v4.py 54.54% 5 Missing ⚠️
integration/test_collection_config.py 55.55% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2127      +/-   ##
==========================================
+ Coverage   86.64%   88.51%   +1.87%     
==========================================
  Files         300      304       +4     
  Lines       23172    23473     +301     
==========================================
+ Hits        20077    20778     +701     
+ Misses       3095     2695     -400     

☔ View full report in Codecov by Harness.
📢 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.

bevzzz added a commit to weaviate/weaviate that referenced this pull request Aug 11, 2026
The linked PR adds per_node_status to the Python client and
enables us to wait_for_vector_indexing correctly.

weaviate/weaviate-python-client#2127
bevzzz added a commit to weaviate/weaviate that referenced this pull request Aug 13, 2026
The linked PR adds per_node_status to the Python client and
enables us to wait_for_vector_indexing correctly.

weaviate/weaviate-python-client#2127
@bevzzz
bevzzz force-pushed the fix/wait-for-vector-indexing branch from ce71fb3 to 05b3195 Compare August 13, 2026 15:55
@bevzzz
bevzzz force-pushed the fix/wait-for-vector-indexing branch from 05b3195 to 4f3d340 Compare August 13, 2026 15:56
name: str
status: ShardTypes
vector_queue_size: int
status: Optional[ShardTypes]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the change on the server, should this go back to being ShardTypes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants