-
Notifications
You must be signed in to change notification settings - Fork 14.4k
MINOR: Fix null exception in coordinator log #10250
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
Conversation
@ableegoldman PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh man, that's a stupid bug. Thanks for catching this -- we should also cherrypick this to 2.6, 2.7, & 2.8 (cc @vvcephei)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dengziming Nice cache. +1
One unrelated test failure which is known to be flaky: |
@chia7712 do you want to merge this? We should also cherrypick it all the way back to 2.6 |
Sure. will merge and backport this patch. |
Reviewers: A. Sophie Blee-Goldman <[email protected]>, Chia-Ping Tsai <[email protected]>
Reviewers: A. Sophie Blee-Goldman <[email protected]>, Chia-Ping Tsai <[email protected]>
Reviewers: A. Sophie Blee-Goldman <[email protected]>, Chia-Ping Tsai <[email protected]>
* apache-github/trunk: KAFKA-12400: Upgrade jetty to fix CVE-2020-27223 MINOR: Fix null exception in coordinator log (apache#10250) y KAFKA-12375: don't reuse thread.id until a thread has fully shut down (apache#10215) KAFKA-12177: apply log start offset retention before time and size based retention (apache#10216) KAFKA-12369; Implement `ListTransactions` API (apache#10206)
More detailed description of your change
Found that the
fatalException
is always null when callinglog.info("xxx", fatalException)
, maybe we should first assign a value to it.Summary of testing strategy (including rationale)
Test locally.
from
to
Committer Checklist (excluded from commit message)