You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ac50346
Browse filesBrowse the repository at this point in the historyBrowse files
fix(clickhouse): take no restore Job's result that this RestoreJob did not run
The restore path took any Job standing under a RestoreJob's Job name as
its own, so a RestoreJob re-created under a used name met the completed
Job of the earlier one before the garbage collector removed it and was
marked Succeeded although nothing was restored for it.
The restore path now refuses such a Job the way the backup path does:
the Job of an earlier RestoreJob of the same name is waited out, with
the Ready condition naming it, and any other Job holding the name
fails the RestoreJob.
Assisted-by: LLM
Signed-off-by: Alexey Artamonov <[email protected]>
{name: "an earlier RestoreJob of the same name controls it", owners: restoreRef("rj", "predecessor-uid", backupsv1alpha1.GroupVersion, "RestoreJob")},
1262
+
{name: "nothing controls it", wantFailed: true},
1263
+
{name: "a RestoreJob of another name controls it", wantFailed: true, owners: restoreRef("other-rj", "other-uid", backupsv1alpha1.GroupVersion, "RestoreJob")},
0 commit comments