Skip to content

Support canceling backup restore#535

Open
bevzzz wants to merge 6 commits intomainfrom
feat/backups-cancel-restore
Open

Support canceling backup restore#535
bevzzz wants to merge 6 commits intomainfrom
feat/backups-cancel-restore

Conversation

@bevzzz
Copy link
Collaborator

@bevzzz bevzzz commented Feb 16, 2026

A recent PR added a "cancel restore" operation for backups in Weaviate. This PR provides support for this feature.

At the time we release v6 client canceling restorations was not on the roadmap, so WeaviateBackupClient's method is called cancel. With the addition of cancelRestore, cancel becomes ambiguous, so it will be deprecated in favor of cancelCreate.

Wrt to testing: it's flaky. With the way Weaviate can only do 1 thing at a time there seems to be some period between getting "restore backup-1" to CANCELLED and being able to start "restore backup-2". While running integration tests locally I kept getting this error.

I don't quite know how to work around this reliably.

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

@bevzzz bevzzz requested a review from a team as a code owner February 16, 2026 19:15
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.

1 participant

Comments