Yiyiyimu commented on a change in pull request #4191:
URL: https://github.com/apache/apisix/pull/4191#discussion_r645179104



##########
File path: apisix/core/config_etcd.lua
##########
@@ -545,6 +558,33 @@ local function _automatic_fetch(premature, self)
 
             local ok, err = sync_data(self)
             if err then
+                if string.find(err, "connection refused")
+                    or string.find(err, "Service Unavailable") then
+                    local etcd_cli, err = get_etcd()

Review comment:
       Changed to forcibly get new etcd client




-- 
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:
[email protected]


Reply via email to