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: nil-logger issue fix for version 3.4 #14420

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

vsvastey
Copy link
Contributor

@vsvastey vsvastey commented Sep 3, 2022

In v3.5 it is assumed that the logger should not be nil, however it is
still a case in v3.4. The PR targeted to v3.5 was backported to 3.4 and
that's why it's possible to get panic on nil logger in 3.4. This commit
fixed this issue.

Fixes #14402

In v3.5 it is assumed that the logger should not be nil, however it is
still a case in v3.4. The PR targeted to v3.5 was backported to 3.4 and
that's why it's possible to get panic on nil logger in 3.4. This commit
fixed this issue.

Fixes etcd-io#14402

Signed-off-by: Vladimir Sokolov <vsvastey@gmail.com>
@ahrtr
Copy link
Member

ahrtr commented Sep 3, 2022

Looks good to me.

@JohnJAS @rtheis could you double check whether you can still reproduce the issue #14402?

@rtheis
Copy link

rtheis commented Sep 3, 2022

@ahrtr I will send to my team for a test.

@JohnJAS
Copy link

JohnJAS commented Sep 5, 2022

@ahrtr I can confirm it works after I had a quick test on my own cluster with the manually built etcd including the current PR.

Build info:

I have no name!@autovmCOS76VM01:/> etcd --version
etcd Version: 3.4.20
Git SHA: 38342e8

commit 38342e8 (HEAD -> release-3.4)
Author: Vladimir Sokolov vsvastey@gmail.com
Date: Sat Sep 3 04:24:03 2022 +0300

etcdserver: nil-logger issue fix for version 3.4

@ahrtr
Copy link
Member

ahrtr commented Sep 5, 2022

Thank you @JohnJAS !

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you @vsvastey

@ahrtr
Copy link
Member

ahrtr commented Sep 5, 2022

@vsvastey Please add one changelog item into CHANGELOG-3.4.md. You can add one more section for 3.4.21.

@ahrtr ahrtr merged commit 9d5ae56 into etcd-io:release-3.4 Sep 5, 2022
@ahrtr
Copy link
Member

ahrtr commented Sep 6, 2022

FYI. Updated the changelog in #14430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants