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: send initial-events-end bookmark for CachedResource virtual storage
The unwrappingWatch in the replication virtual workspace never sent
a BOOKMARK event with the k8s.io/initial-events-end annotation after
replaying the initial list of cached objects. This caused clients using
the WatchList feature (sendInitialEvents=true), which is enabled by
default since client-go v0.35.1 (Kubernetes 1.35), to log "event
bookmark expired" warnings every 10 seconds.
After registering the informer event handler, start a goroutine that
waits for handler.HasSynced() (all initial items delivered), then sends
a BOOKMARK with the initial-events-end annotation and the latest
resource version seen during the initial list.
Signed-off-by: Max Makarov <maxpain@linux.com>
0 commit comments