You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/10 15:46:07 UTC

[GitHub] [apisix] spacewander edited a comment on issue #4021: bug: delete entries directly from etcd,somthing wrong happened

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