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

Fix node handling for shards when shards: null. #990

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

jfrancoa
Copy link
Contributor

@jfrancoa jfrancoa commented Apr 2, 2024

Currently, when no shards are present on a node, Weaviate returns shards: null, however the python-client code expects the shards option to include a list of shards or not appear at all if there is no shard information for that node.

fixes: gh-989

Currently, when no shards are present on a node, Weaviate returns
shards: null, however the python-client code expects the shards
option to include a list of shards or not appear at all if there is
no shard information for that node.

fixes: gh-989
Copy link
Contributor

@tsmith023 tsmith023 left a comment

Choose a reason for hiding this comment

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

Thanks for the bugfix, lgtm :)

@weaviate-git-bot
Copy link

Great to see you again! Thanks for the contribution.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

@jfrancoa jfrancoa merged commit 35a7ed9 into main Apr 3, 2024
40 checks passed
@jfrancoa jfrancoa deleted the shards_null branch April 3, 2024 07:37
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.

Error on clusters.py when shards: null
3 participants