Hi

The etcd problem, I know, can be solved by turning on compact option. 
My question is, why is it that if etcd is not writable, apisix won't start and 
can't be served properly?
For someone who is experiencing this problem for the first time, it may take a 
few minutes or more to resolve the etcd issue, and it is not acceptable for 
apisix to be out of service during this time




 Original Message 
Sender: Zhiyuan Ju<juzhiy...@apache.org>
Recipient: dev<dev@apisix.apache.org>
Date: Sunday, Feb 6, 2022 21:41
Subject: Re: when etcd database space exceeded. apisix does not start properly


Hi Jie123108, Please have a try according to 
https://github.com/etcd-io/etcd/issues/11947 , and I noticed Bilibli has the 
same problem, see https://xie.infoq.cn/article/95c80dcb18ebc2c26237868f3 Best 
Regards! @ Zhiyuan Ju <">https://github.com/juzhiyuan> jie123108 
<jie123...@163.com> 于2022年2月6日周日 21:13写道: > Hi > Happy Chinese New Year! > When 
the etcd database space is exceeded, apisix is now unable to start, > and 
therefore unable to provide services. Is this reasonable? > > > The error 
message at startup is as follows: > >/usr/local/openresty/luajit/bin/luajit 
./apisix/cli/apisix.lua init > >/usr/local/openresty/luajit/bin/luajit 
./apisix/cli/apisix.lua init_etcd > >got malformed key-put message: 
"{"error":"etcdserver: mvcc: database > space exceeded","message":"etcdserver: 
mvcc: database space > exceeded","code":8}" from etcd 
"http://etcd:2379/v3/kv/put"; > > > etcd is a configuration center, and when its 
space is exceeded, it can > still provide basic read capabilities. I think the 
services that depend on > it should be able to provide basic read capabilities 
as well. An error > should only be reported when the service is written

Reply via email to