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

*: LeaseTimeToLive returns error if leader changed #17642

Merged
merged 1 commit into from
Apr 2, 2024

Commits on Mar 26, 2024

  1. *: LeaseTimeToLive returns error if leader changed

    The old leader demotes lessor and all the leases' expire time will be
    updated. Instead of returning incorrect remaining TTL, we should return
    errors to force client retry.
    
    Signed-off-by: Wei Fu <fuweid89@gmail.com>
    fuweid committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    d3bb6f6 View commit details
    Browse the repository at this point in the history