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

Ignore old leader's leases revoking request #16822

Merged
merged 3 commits into from
Dec 15, 2023
Merged

Commits on Dec 15, 2023

  1. Add e2e test cases to reproduce the lease revoke issue

    Refer to etcd-io#15247
    
    Signed-off-by: Benjamin Wang <[email protected]>
    ahrtr committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    f7e488d View commit details
    Browse the repository at this point in the history
  2. Safeguard lease operations by double checking the leadership

    1. ignore old leader's leases revoking request
    2. double check current member's leadership before perform lease renew request
    3. etcdserve: ensure current member's leadership before performing lease checkpoint request
    
    Signed-off-by: Benjamin Wang <[email protected]>
    ahrtr committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    67f1716 View commit details
    Browse the repository at this point in the history
  3. Resovle some review comments

    Signed-off-by: Benjamin Wang <[email protected]>
    ahrtr committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    f7ff898 View commit details
    Browse the repository at this point in the history