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
…sSynced
splitting internal and mutative methods to SyncableStore
removing isPopulated and directly wiring the cache to be used
this adds an isRunning method to the SharedInformer. this clarifies the
cache methods to be more like a map and the underlying map is now
concurrent to remove read locks
shawkins
added a commit
to shawkins/kubernetes-client
that referenced
this issue
May 25, 2021
…sSynced
splitting internal and mutative methods to SyncableStore
removing isPopulated and directly wiring the cache to be used
this adds an isRunning method to the SharedInformer. this clarifies the
cache methods to be more like a map and the underlying map is now
concurrent to remove read locks
shawkins
added a commit
to shawkins/kubernetes-client
that referenced
this issue
May 25, 2021
…sSynced
splitting internal and mutative methods to SyncableStore
removing isPopulated and directly wiring the cache to be used
this adds an isRunning method to the SharedInformer. this clarifies the
cache methods to be more like a map and the underlying map is now
concurrent to remove read locks
A change in #1961 was to set hasSynced to false when re-listing. This differs from the go client behavior - where once true, it won't flip back to false see https://github.com/kubernetes/client-go/blob/f6ce18ae578c8cca64d14ab9687824d9e1305a67/tools/cache/delta_fifo.go and the doc https://github.com/kubernetes/client-go/blob/f6ce18ae578c8cca64d14ab9687824d9e1305a67/tools/cache/shared_informer.go#L160
Can we return hasSynced to the original meaning and introduce more specific methods for additional checks - such as isWatching?
A change along these lines would allow us to eliminate the Store.isPopulated method
cc @rohanKanojia
The text was updated successfully, but these errors were encountered: