Skip to content

Clear snapshots if process terminated in the middle of some procedure #3218

Open
@larisau

Description

@larisau

It manager was stopped/killed during a backup, need to clear the snapshot from the disk as nodes may run out of disk space.
https://github.com/scylladb/siren/issues/6734#issuecomment-1201466898

[edit] TODO:

  • on manager start, get the status of the cluster with Nodes UUID
  • compare the retrieved Nodes UUIDs with UUIDs saved in backup_run (if there is any that can be resumed)
  • if list of retrieved UUIDs is different than the ones stored in paused task then purge snapshot file and fail backup task

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions