-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix server info reconciler not restarting after an error #47160
Conversation
const timeBetweenReconciliationLoops = 10 * time.Minute | ||
clock := a.GetClock() | ||
func ReconcileServerInfos(ctx context.Context, ap ServerInfoAccessPoint) error { | ||
retry, err := retryutils.NewLinear(retryutils.LinearConfig{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does retry need any sort of defer to stop it when this function returns?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't have a Close()
method and it doesn't have any internal things to cancel, so I don't think so.
Friendly ping @rosstimothy |
This change fixes the server info reconciler to restart on an error.
dae720d
to
f06454b
Compare
This change fixes the server info reconciler to restart on an error.
This change fixes the server info reconciler to restart on an error.
Fixes #44793.
Changelog: Fixed the resource-based labels handler crashing without restarting