You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when client watch failed, then server response watch id is -1, and cancel reason is "etcdserver: invalid auth token", but implenment of code watchImp:262 will onError "etcd server failed to create watch id", and return it directly. it will cause watch problem, client watcher will not receive any message from etcd server.
To Reproduce
start a etcd cluster first with user、 password, auth-token configuration is default "simple"
start a register client and watcher client test it
kill all etcd node of etcd cluster
restart etcd cluser, then watcher client will receive invalid token exception
Expected behavior
jetcd client should resume watchImp, and add token valid error check when watch exception
if any other exception that jetcd should deal with
Additional context
why jetcd client use cancel reason to check exception, if cause reason is changed, it will be unuseful
The text was updated successfully, but these errors were encountered:
Versions
Describe the bug
when client watch failed, then server response watch id is -1, and cancel reason is "etcdserver: invalid auth token", but implenment of code watchImp:262 will onError "etcd server failed to create watch id", and return it directly. it will cause watch problem, client watcher will not receive any message from etcd server.
To Reproduce
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: