confd
confd copied to clipboard
log.Warning("Watch to '%s' stopped at revision %d", prefix, w.revision)
log.Warning("Watch to '%s' stopped at revision %d", prefix, w.revision)
what is this warn mean?
confd tell this and cannot receive new watch update
I have located this situation.
It is caused because etcd client auth token expires, etcd server gives auth: invalid auth token: xxxxxxxx
. You can stop and wait sometime then restart etcd server to reproduce it.
The etcd client v3 doesn't give a WatchError, because its version is too old. I upgrade it to 3.3.15 and watch this error ERROR Watch error: rpc error: code = PermissionDenied desc = etcdserver: permission denied
https://bbs.huaweicloud.com/blogs/151610