[BUG]: goroutine leak when leaderelection.NewLeaderElector
return error
#2834
Labels
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
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: