Skip to content

fix: not saving etcd revision#10671

Merged
juststillthinking merged 3 commits into
apache:masterfrom
juststillthinking:fix-not-saving-etcd-revision
Dec 21, 2023
Merged

fix: not saving etcd revision#10671
juststillthinking merged 3 commits into
apache:masterfrom
juststillthinking:fix-not-saving-etcd-revision

Conversation

@juststillthinking

@juststillthinking juststillthinking commented Dec 20, 2023

Copy link
Copy Markdown
Contributor

Description

Due to the fix, the saved etcd revision will be discarded when re-watch etcd, APISIX need to re-traverse all keys in etcd every time, that leads to high cpu usage

Fixes # (issue)

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@jiangfucheng jiangfucheng left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants