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

kvserver: improve error message for rare lease errors #64080

Merged
merged 1 commit into from
Apr 30, 2021

Commits on Apr 23, 2021

  1. kvserver: improve error message for rare lease errors

    In some rare cases, the status of a lease in relation to a
    request/timestamp can't be determined. For the request's client this
    results in a NotLeaseholderError. This patch improves the message of
    that error.
    
    In particular, this test failure[1] seems to show that a node couldn't
    verify that an existing lease is expired because its liveness gossiped
    info was stale. This sounds interesting and if the test fails again this
    improved message should help.
    
    [1] cockroachdb#57932 (comment)
    
    Release note: None
    andreimatei committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    1f31803 View commit details
    Browse the repository at this point in the history