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
fix: Ensure I process the initial IPPool state correctly on leader change
Previously, my IPPool controller would only signal that its
initial synchronization was complete upon processing an UPDATE event for
its target IPPool. This caused me to hang if the IPPool existed
at startup (generating an ADD event) but wasn't immediately updated.
This commit modifies my IPPool controller to also signal initial sync
completion when processing an ADD event or when a DELETE event confirms
the target IPPool is no longer present.
Additionally, my IPPool event listener's informer is now scoped to watch
only the specific IPPool it is responsible for, rather than all IPPools
in the namespace. Event handlers in the listener are also updated to
correctly queue ADD and DELETE events.
logrus.Warnf("(%s) Failed to delete lease for MAC %s during clear: %v (may already be gone or belong to a different pool if logic changes)", poolRefStr, hwAddr, err)
0 commit comments