restore error status is not final

Description

If we accidentally schedule two restores one will start and the other one will be marked as error. When the first one finishes the second one will start which is not good.

As you can see restore2 was marked as Error, but then after restore3 finished it moved to "Starting/Running/Succeeded" statuses.

If restore was marked as Error or Succeeded (final statuses) we should not do anything about them.

Environment

None

Activity

Show:

Andrii Dema February 27, 2024 at 10:21 AM

The final states are Succeeded and Failed. The Error state is meant to be the state when it’s possible to fix the credentials or restore/storage parameters and the restore will continue. fixes setting the PerconaServerMySQLRestore state to Error if the other restore is already running, by setting it to empty

Done

Details

Assignee

Reporter

Labels

Needs QA

Yes

Fix versions

Affects versions

Priority

Smart Checklist

Created August 31, 2023 at 6:48 AM
Updated March 25, 2024 at 7:39 PM
Resolved March 19, 2024 at 3:30 PM