-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Persisting the lease using --experimental-enable-lease-checkpoint
is not working as expected
#17132
Comments
Thanks @ishan16696 Could you double check whether you can reproduce this issue in the Is anyone interested in having a deep dive on this issue? |
This is a known issue, The fix is the |
@ishan16696 Can you try again with |
yes, I saw this PR and this flag ~ > etcd --version
etcd Version: 3.5.9
Git SHA: bdbbde998
Go Version: go1.20.4
Go OS/Arch: darwin/arm64
~ > etcd --help | grep lease
--experimental-enable-lease-checkpoint 'false'
ExperimentalEnableLeaseCheckpoint enables primary lessor to persist lease remainingTTL to prevent indefinite auto-renewal of long lived leases.
Am I missing something ? |
I tried similar experiment with |
Hi @serathius , |
We should backport #16034 to fix missing flags in help on older releases. |
Sorry for that, the |
What happened?
It has been observed that
lease time-to-live
are getting renewed on 3rd leadership change in a 3 node etcd cluster.I haven't tried with 5 node etcd cluster.
What did you expect to happen?
If
TTL>5mins
, then after 5mins of checkpointinglease TTLs
should get reset to last checkpoint rather than getting renewed after any no. of leadership change.How can we reproduce it (as minimally and precisely as possible)?
--experimental-enable-lease-checkpoint=true
Anything else we need to know?
Etcd version (please run commands below)
Etcd configuration
etcd configuration
Etcd debug information
Relevant log output
No response
The text was updated successfully, but these errors were encountered: