• 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
..
admission Loading commit data...
api Loading commit data...
apimachinery Loading commit data...
apis Loading commit data...
apiserver Loading commit data...
auth Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
conversion Loading commit data...
credentialprovider Loading commit data...
dns Loading commit data...
fieldpath Loading commit data...
fields Loading commit data...
genericapiserver Loading commit data...
healthz Loading commit data...
httplog Loading commit data...
hyperkube Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
labels Loading commit data...
master Loading commit data...
metrics Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
runtime Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
storage Loading commit data...
types Loading commit data...
ui Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch Loading commit data...
OWNERS Loading commit data...