Skip to content

KAFKA-9143: Log task reconfiguration error only when it happened#7648

Merged
rhauch merged 1 commit into
apache:trunkfrom
ivanyu:distributedherder-misleading-reconfiguration-error-log
Jan 21, 2020
Merged

KAFKA-9143: Log task reconfiguration error only when it happened#7648
rhauch merged 1 commit into
apache:trunkfrom
ivanyu:distributedherder-misleading-reconfiguration-error-log

Conversation

@ivanyu

@ivanyu ivanyu commented Nov 5, 2019

Copy link
Copy Markdown
Contributor

This commit makes DistributedHerder log that some error has happened during task reconfiguration only when it actually has happened.

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

This commit makes `DistributedHerder` log that some error has happened during task reconfiguration only when it actually has happened.

@rhauch rhauch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for identifying the problem and issuing a quick fix, @ivanyu. LGTM!

@ivanyu

ivanyu commented Nov 15, 2019

Copy link
Copy Markdown
Contributor Author

It needs another approval. I'd like to tag @ewencp as the author of the original piece.

@rhauch

rhauch commented Nov 15, 2019

Copy link
Copy Markdown
Contributor

@ivanyu this PR does not need another approval, since I am a committer. However, we're currently in AK 2.4 code freeze, so I was holding off merging since we want to backport this to the 2.4 branch (and further back).

@ivanyu

ivanyu commented Jan 3, 2020

Copy link
Copy Markdown
Contributor Author

@rhauch any chance merging this now?

@rhauch rhauch merged commit 6594114 into apache:trunk Jan 21, 2020
rhauch pushed a commit that referenced this pull request Jan 21, 2020
This commit makes `DistributedHerder` log that some error has happened during task reconfiguration only when it actually has happened.

Author: Ivan Yurchenko <ivan0yurchenko@gmail.com>
Reviewer: Randall Hauch <rhauch@gmail.com>
rhauch pushed a commit that referenced this pull request Jan 21, 2020
This commit makes `DistributedHerder` log that some error has happened during task reconfiguration only when it actually has happened.

Author: Ivan Yurchenko <ivan0yurchenko@gmail.com>
Reviewer: Randall Hauch <rhauch@gmail.com>
rhauch pushed a commit that referenced this pull request Jan 21, 2020
This commit makes `DistributedHerder` log that some error has happened during task reconfiguration only when it actually has happened.

Author: Ivan Yurchenko <ivan0yurchenko@gmail.com>
Reviewer: Randall Hauch <rhauch@gmail.com>
ijuma added a commit to confluentinc/kafka that referenced this pull request Jan 23, 2020
* apache-github/trunk:
  KAFKA-9418; Add new sendOffsetsToTransaction API to KafkaProducer (apache#7952)
  KAFKA-7273 Clarification on mutability of headers passed to Converter#fromConnectData() (apache#7489)
  MINOR: Only update a request's local complete time in API handler if unset (apache#7813)
  KAFKA-9143: Log task reconfiguration error only when it happened (apache#7648)
  MINOR: Change the log level from ERROR to DEBUG when failing to get plugin loader for connector (apache#7964)
  KAFKA-9024: Better error message when field specified does not exist (apache#7819)
  KAFKA-7204: Avoid clearing records for paused partitions on poll of MockConsumer (apache#7505)
  KAFKA-9083: Various fixes/improvements for Connect's Values class (apache#7593)
  MINOR: log error message from Connect sink exception (apache#7555)
@ivanyu ivanyu deleted the distributedherder-misleading-reconfiguration-error-log branch January 30, 2020 15:02
qq619618919 pushed a commit to qq619618919/kafka that referenced this pull request May 12, 2020
…che#7648)

This commit makes `DistributedHerder` log that some error has happened during task reconfiguration only when it actually has happened.

Author: Ivan Yurchenko <ivan0yurchenko@gmail.com>
Reviewer: Randall Hauch <rhauch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants