Backup object shows backups as Running even if they are waiting

Description

Currently if you create two or more backup objects they will all get status Running at some point, but actually one will be Running and other will be waiting for the first one to finish which is misleading from the user perspective.
In PSMDB this is handled by pbm-agent, and in PXC we maybe have the same issue or it is somehow different (need to investigate).

So backup object has this:

But the script in the second backup actually mentions waiting:

Environment

None

Activity

Show:

Tomislav Plavcic March 18, 2024 at 3:27 PM

The only thing which is a bit misleading for me here is that now multiple backups can be in status “Starting”, maybe it would be better to name it “Waiting” since I don’t think it is doing anything but just waiting, but anyway it is much better than before.

$ k get ps-backup -w

NAME STORAGE DESTINATION STATE COMPLETED AGE backup1 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:21-full Running 21s backup2 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:25-full Starting 17s backup3 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:28-full Starting 14s backup4 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:31-full Starting 11s backup1 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:21-full Succeeded 2s 21s backup3 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:28-full Running 15s backup3 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:28-full Succeeded 2s 30s backup2 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:25-full Running 36s backup2 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:25-full Succeeded 2s 51s backup4 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:31-full Running 75s backup4 s3-us-west s3://tomislav-backup-test/cluster1-2024-03-18-15:21:31-full Succeeded 1s 90s

Done

Details

Assignee

Reporter

Labels

Needs QA

Yes

Fix versions

Affects versions

Priority

Smart Checklist

Created March 27, 2023 at 1:36 PM
Updated March 25, 2024 at 7:39 PM
Resolved March 18, 2024 at 3:28 PM