confd icon indicating copy to clipboard operation
confd copied to clipboard

Combining --watch and --interval with etcd backend causes confd to miss updates

Open jhsware opened this issue 5 years ago • 1 comments

It appears that if you pass both --watch and --interval options when connected to a etcd backend, confd has issues where it can miss the second change if two updates are done rapidly. Both are running on Centos 7 servers in a distributed cluster.

Removing the --interval option fixes this, so perhaps on should just ditch the --interval option when --watch is passed. Or fail with a warning.

jhsware avatar Feb 07 '20 14:02 jhsware

.i watch etcdv3 without this option, and nginx config file not update in a few minutes after run command "./confd -watch -basic-auth -username xxx -password yyy -log-level debug -interval 1 -node http://zzz, but at first the nginx config file update normally.

wuceyang avatar Apr 28 '23 09:04 wuceyang