oyiadin commented on issue #8648: URL: https://github.com/apache/apisix/issues/8648#issuecomment-1475240703
We've reproduced it in our test env steadily, by inserting and deleting apisix resources while an etcd compaction occurred. And the issue will keep on exist until we restart apisix mannually. So I dive into the source code and find a weired spot: https://github.com/apache/apisix/blob/e4e7c7327a87e1ff8f190e0608c4a0df2dfb2214/apisix/core/config_etcd.lua#L392-L401 Line#397 returns a "false" while no "err" is provided. After changing this line to `return false, err`, we cannot reproduce the issue anymore with the exactly same way of inserting and deleting while etcd compaction. But i have no time to reproduce it with minimal step way right now. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
