fix(reaper): 有服务器处理失败或过期备份删不掉时以非零码退出,让 Job 失败告警触达运维
This commit is contained in:
6 files changed
+119
-11
No files matched your search
@@ -42,7 +42,7 @@ func (a *reclaimArchiver) Archive(_ context.Context, server, _ string) (backup.A
|
||||
}
|
||||
|
||||
func (a *reclaimArchiver) Restore(context.Context, backup.ArchiveRef, string) error { return nil }
|
||||
func (a *reclaimArchiver) Delete(context.Context, backup.ArchiveRef) error { return nil }
|
||||
func (a *reclaimArchiver) Delete(context.Context, backup.ArchiveRef) error { return nil }
|
||||
|
||||
// TestReclaimRestartsReaperClock: a world reaped weeks ago and claimed by a new
|
||||
// owner is not reaped again on the next run, and when it does go idle the reap
|
||||
|
||||
Reference in new issue
Block a user