Skip to content

Commit

Permalink
chore: remove the obsolote etcd v2 protocol error (#3291)
Browse files Browse the repository at this point in the history
PR #3258 doesn't remove it entirely.

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
  • Loading branch information
spacewander authored Jan 18, 2021
1 parent cdb5aaf commit 15609ce
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apisix/core/config_etcd.lua
Original file line number Diff line number Diff line change
@@ -324,13 +324,6 @@ local function sync_data(self)
end

if not res then
if err == "The event in requested index is outdated and cleared" then
self.need_reload = true
log.warn("waitdir [", self.key, "] err: ", err,
", need to fully reload")
return false
end

return false, err
end

0 comments on commit 15609ce

Please sign in to comment.