Uploaded image for project: 'Percona Operator for MongoDB'
  1. Percona Operator for MongoDB
  2. K8SPSMDB-463

Update backup status as error if it's not started

Details

    • Improvement
    • Status: Done
    • Medium
    • Resolution: Fixed
    • None
    • 1.11.0
    • None
    • None
    • Yes
    • Yes
    • Yes

    Description

      If backup storage credentials are wrong, PBM agent doesn’t allow the backup to start. but after PBM inserts the backup meta into db, we consider the backup as “running” while in the meta the backup status is “starting”. Since backups can run for hours according to db size, users may not suspect there is something wrong until it’s too late. We should handle “starting” status in https://github.com/percona/percona-server-mongodb-operator/blob/main/pkg/controller/perconaservermongodbbackup/backup.go#L102 

      After a certain duration, we should update the backup status as "error" if it's not "running". PBM cli uses something like 33 seconds.

      Attachments

        Issue Links

          Activity

            People

              ege.gunes Ege Gunes
              ege.gunes Ege Gunes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist