rpcxio / rpcx-etcd

etcd plugin for rpcx
Apache License 2.0
30 stars 24 forks source link

key not exists is not an fatal error in watchTree #14

Closed firedtoad closed 3 years ago

firedtoad commented 3 years ago

key not exists is not an fatal error in watchTree compatible behavior with https://github.com/smallnest/libkv-etcdv3-store/blob/master/etcdv3.go otherwise it will cause service start dependency problem

smallnest commented 3 years ago

I haved added allowKeyNotFound parameter so we can use it to handle those error

firedtoad commented 3 years ago

well done, with great appreciate