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 #13491

Closed

Commits on Nov 19, 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 committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    f5a0aa3 View commit details
    Browse the repository at this point in the history
  2. etcdserver,integration: apply old LeaseCheckpoint reqs to EtcdServer

    To extend lease checkpointing mechanism to cases when the whole etcd
    cluster is restarted. If etcd server has to restore its state from
    the raft logs, all LeaseCheckpoint requests will be applied to the
    server, regardles of the index value. This will set remaining TTLs
    to values from before the restart. Otherwise, remaining TTLs would be
    reset to initial TTLs after each cluster restart.
    Added integration test to cover this case.
    michaljasionowski committed Nov 19, 2021
    Configuration menu
    Copy the full SHA
    4b38a68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    796b344 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c5eb78e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3307d0d View commit details
    Browse the repository at this point in the history