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

etcdserver: fix panic when checking IsLearner of removed member #18606

Merged
merged 1 commit into from
Oct 4, 2024

Commits on Sep 30, 2024

  1. etcdserver: fix panic when checking IsLearner of removed member

    There was a concurrency bug when accessing the IsLearner
    property of a member, which will panic with a nil pointer access error
    if the member is removed between the IsMemberExist() and Member() calls.
    
    Signed-off-by: Jan Schär <[email protected]>
    jscissr committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    3374e27 View commit details
    Browse the repository at this point in the history