Skip to content

Conversation

@serathius
Copy link
Member

michaljasionowski and others added 3 commits December 2, 2021 16:40
Current checkpointing mechanism is buggy. New checkpoints for any lease
are scheduled only until the first leader change. Added fix for that
and a test that will check it.
To extend lease checkpointing mechanism to cases when the whole etcd
cluster is restarted.
…lease-checkpoint-persist to persist lease remainingTTL

To avoid inconsistant behavior during cluster upgrade we are feature
gating persistance behind cluster version. This should ensure that
all cluster members are upgraded to v3.6 before changing behavior.

To allow backporting this fix to v3.5 we are also introducing flag
--experimental-enable-lease-checkpoint-persist that will allow for
smooth upgrade in v3.5 clusters with this feature enabled.
@jpbetz
Copy link
Contributor

jpbetz commented Dec 2, 2021

LGTM

Copy link
Member

@spzala spzala left a comment

Choose a reason for hiding this comment

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

lgtm
Thanks @serathius

@ptabor ptabor merged commit e84c611 into etcd-io:release-3.5 Dec 3, 2021
@serathius serathius mentioned this pull request Dec 6, 2021
9 tasks
hasbro17 pushed a commit to hasbro17/etcd that referenced this pull request Feb 2, 2022
Backport Lease Checkpoints fix to release-3.5
@serathius serathius deleted the checkpoints-fix-3.5 branch June 15, 2023 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants