• Xiang Li's avatar
    cache: reflector should never stop watching · abbbd7c2
    Xiang Li authored
    A recent change tries to separate resync and relist. The motivation
    was to avoid triggering relist when a resync is required.
    
    However, the change is not effective since it stops the watcher. As hongchao
    mentioned in the original comment, today's storage interface will not deliever
    any progress notification to the watch chan. So any watcher that does not receive
    events for the last few seconds will not be able to catch up from the previous
    index after a hard close since the index of the last received event is out of
    the cache window inside etcd2.
    
    This pull request tries to fix this issue by not stoping watcher when a resync is
    required.
    abbbd7c2
Name
Last commit
Last update
..
cache Loading commit data...
chaosclient Loading commit data...
clientset_generated Loading commit data...
leaderelection Loading commit data...
metrics Loading commit data...
record Loading commit data...
restclient Loading commit data...
testdata Loading commit data...
testing/core Loading commit data...
transport Loading commit data...
typed Loading commit data...
unversioned Loading commit data...
OWNERS Loading commit data...