Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove the obsolote etcd v2 protocol error #3258

Merged
merged 1 commit into from
Jan 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions apisix/core/config_etcd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,6 @@ local function sync_data(self)
local res = dir_res.body.node
local err_msg = dir_res.body.message
if err_msg then
if err_msg == "The event in requested index is outdated and cleared"
and dir_res.body.errorCode == 401 then
self.need_reload = true
log.warn("waitdir [", self.key, "] err: ", err_msg,
", need to fully reload")
return false
end
return false, err
end

Expand Down