spacewander edited a comment on issue #4021:
URL: https://github.com/apache/apisix/issues/4021#issuecomment-817156351


   First of all, don't operate on etcd directly. As APISIX has some references 
between different directories. Such an operation may corrupt the data.
   
   Secondly, APISIX uses some placeholders to build the structure of data. If 
you remove the directory directly, they will be removed too. So the returned 
result is incorrect.
   
   This placeholder will be reinitialized during APISIX starts, so everything 
works well again after you restart it.
   
   See 
https://github.com/apache/apisix/blob/e295ebb9e811e505f0c9f6b604dd6a7b25bb0a74/apisix/cli/etcd.lua#L265-L283


-- 
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:
us...@infra.apache.org


Reply via email to