Skip to content

Conversation

@jfrancoa
Copy link
Collaborator

There were few checks verifying that the collection would exist before ingesting/updating/deleting data. However, if an alias exists it is not found when listing collections. Therefore, a better check had to be included, as well as some code to use the collection with the alias right before the data operation is about to take place (it's not possible to do collection modifications or getting config using an alias)

Copy link

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

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

There were few checks verifying that the collection
would exist before ingesting/updating/deleting data.
However, if an alias exists it is not found when listing
collections. Therefore, a better check had to be included,
as well as some code to use the collection with the alias
right before the data operation is about to take place (it's
not possible to do collection modifications or getting config
using an alias)
@jfrancoa jfrancoa force-pushed the jose/fix-collection-alias-data-creation branch from d806522 to 63ee163 Compare August 27, 2025 13:48
@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?

Now it's possible to query schema using the alias
so we don't need to keep the alias and collection
referenced to do either one operation or the other.

Also, add support for the override_alias when restoring
the backup.
@jfrancoa jfrancoa force-pushed the jose/fix-collection-alias-data-creation branch from 091baf2 to 8a1d3d1 Compare September 19, 2025 10:22
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