• 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
.github Loading commit data...
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
release Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...