shuaijinchao opened a new pull request #5257:
URL: https://github.com/apache/apisix/pull/5257


   ### What this PR does / why we need it:
   
   After etcd is upgraded to 1.6.0, if it has been initialized in the default 
mode, the health check mode needs to be switched by judging whether the shared 
memory exists when performing the health check configuration.
   
   
https://github.com/apache/apisix/blob/93038127c54235f5ac786b7ab10aee4231cffc4c/apisix/core/config_etcd.lua#L521
   
   
https://github.com/api7/lua-resty-etcd/blob/9995f38e4da90af655528e6e8d40e3d6fa5bc946/health_check.md#L59
   
   ### Pre-submission checklist:
   
   * [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [x] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix/tree/master#community) first**
   


-- 
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]


Reply via email to