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
@@ -420,12 +420,6 @@ func (u *Upgrader) forceRollbackToPreviousVersion(ctx context.Context, topDir st
420
420
returnnil, fmt.Errorf("stat() on upgrade marker %q failed: %w", updateMarkerPath, err)
421
421
}
422
422
423
-
// TODO Formal checks for verifying we can rollback properly:
424
-
// 1. d.Metadata.RollbacksAvailable should contain the desired version with a valid TTL (it may need to be written by main agent process before starting watcher)
425
-
// 2. there has been at least the first restart with the new agent (i.e. we are not still downloading/extracting/rotating)
426
-
// 3. upgrade marker exists
427
-
// these should be revalidated after taking over watcher
0 commit comments