[BUG]: goroutine leak when leaderelection.NewLeaderElector
return error
#2834
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/manager/internal.go#L602
leak here : https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/manager/internal.go#L519
When I was using
controller-runtime v0.14.6
and configured an incorrectRenewDeadline
setting, it caused an error withleaderelection.NewLeaderElector
. Consequently, the following goroutine was continuously blocked:Is this a bug? If so, I am interested in fixing it.
The text was updated successfully, but these errors were encountered: