Skip to content

Improve the backup schedule cron job so that only one backup runs at a time. #85

@calind

Description

@calind
  1. Controller should not rely on an internal lock, but rather check if there's an active job
    https://github.com/presslabs/mysql-operator/blob/e0ef8bb900001a91db4aa0e78596a8f8a0bf9d12/pkg/controller/clustercontroller/backups.go#L101-L102
  2. In case of an active job, we should create an automated backup, but mark it as failed, with the reason that another backup is running

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions