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 2013e62
Browse filesBrowse the repository at this point in the historyBrowse files
fix(backups): raise ArtifactNotMeasured only for a Backup this pass created
The Event was recorded before the Backup was created, so a Create that
then failed left the BackupJob Failed next to an Event saying the
backup succeeded, and a Create that collided with a Backup another pass
had made reported on that pass's Backup. The Event is now recorded once
Create succeeds. It also covers the one unmeasured path that had none:
a failed existence check, which skips the probe.
A test now also pins that a CA Secret key the s3-ca volume's items do
not project is never trusted.
Assisted-by: LLM
Signed-off-by: Andrey Kolkov <[email protected]>
r.Recorder.Eventf(j, corev1.EventTypeNormal, "ArtifactNotMeasured", "The backup succeeded, but its location and size were not recorded: %s", probeErr.reason)
// Only once the Backup exists: a terminal Create error fails the
528
+
// BackupJob, and a collision returns a Backup another pass measured.
529
+
ifunmeasured!=""&&r.Recorder!=nil {
530
+
r.Recorder.Eventf(j, corev1.EventTypeNormal, "ArtifactNotMeasured", "The backup succeeded, but its location and size were not recorded: %s", unmeasured)
0 commit comments