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

Lease Checkpoints fix #13508

Merged
merged 4 commits into from
Dec 2, 2021
Merged

Lease Checkpoints fix #13508

merged 4 commits into from
Dec 2, 2021

Commits on Nov 26, 2021

  1. lease,integration: add checkpoint scheduling after leader change

    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.
    michaljasionowski authored and serathius committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    48a360a View commit details
    Browse the repository at this point in the history
  2. etcdserver,integration: Store remaining TTL on checkpoint

    To extend lease checkpointing mechanism to cases when the whole etcd
    cluster is restarted.
    michaljasionowski authored and serathius committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    fd77b27 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. server: Require either cluster version v3.6 or --experimental-enable-…

    …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.
    serathius committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    7d10899 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48a7aab View commit details
    Browse the repository at this point in the history