apisix-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [apisix] spacewander edited a comment on issue #3937: [discuss]: when a node in the etcd cluster fails, no error log is output
Date Wed, 31 Mar 2021 02:16:41 GMT

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

   The `etcd init` doesn't just do the node check.
   As its name indicates, it **does the init job**. We need this operation to ensure the data
in etcd is initialized correctly to avoid unexpected responses.
   If we skip this for some nodes, there is no way to ensure they are correctly initialized.
   As for "normally start and use apisix in a production environment in case of the
   extreme cases such as a node in the etcd cluster(3 nodes) fails", **this problem is mostly
an etcd HA problem**.
   IMHO, we should solve it in the etcd cluster, better than solving it in every client.
   You can use 3 virtual hosts for etcd and ensure they are mapping into healthy nodes. If
it is no enough, you can introduce retry when starting APISIX.

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:

View raw message