imjoey commented on issue #1329:
URL: 
https://github.com/apache/apisix-dashboard/issues/1329#issuecomment-764591605


   > > @nic-chen I'm afraid I cannot reproduce in my environment. Is the etcd 
also newly installed? I guess there's something wrong with the data in etcd. So 
could you please have a try to run `etcdctl del "/apisix" --prefix && apisix 
init && apisix init_etcd` to reinitialize the etcd?
   > 
   > a simple reproduce step:
   > 
   > 1. run Manager API
   > 2. etcdctl del --prefix /apisix
   > 3. apisix init
   > 
   > in the process don't stop the Manager API.
   
   @nic-chen thanks for the details. I managed to reproduce this issue. The 
reason is that we should explicitly ignore the `init_dir` etcd event during 
`Watch` etcd process. I would commit an PR to fix this. Thanks for reporting.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to