kafka icon indicating copy to clipboard operation
kafka copied to clipboard

MINOR: Don't log missing partitions at ERROR level

Open splett2 opened this issue 2 years ago • 4 comments

What

We are logging missing partitions as errors in the state.change.logger which may be a bit alarming. There are valid cases where the partition may not exist, eg: partition reassignment.

Testing

Verified that ReassignPartitionsIntegrationTest logs partition reassignments at error without the patch and doesn't with the patch.

Committer Checklist (excluded from commit message)

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

splett2 avatar Oct 19 '23 00:10 splett2

Perhaps we should just lower the priority to INFO instead of ERROR? I do think it's nice to know when we create a new log directory.

cmccabe avatar Oct 19 '23 19:10 cmccabe

This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge conflicts, please update it with the latest from trunk (or appropriate release branch)

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

github-actions[bot] avatar Jan 18 '24 03:01 github-actions[bot]

Perhaps we should just lower the priority to INFO instead of ERROR? I do think it's nice to know when we create a new log directory.

That makes sense to me. We can keep only stateChangeLogger.info(s"Creating new partition $tp with topic id " + s"$topicId.") to simplify PR. @splett2 WDYT?

chia7712 avatar Mar 04 '24 19:03 chia7712

This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge conflicts, please update it with the latest from trunk (or appropriate release branch)

If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.

github-actions[bot] avatar Jun 26 '24 03:06 github-actions[bot]

This PR has been closed since it has not had any activity in 120 days. If you feel like this was a mistake, or you would like to continue working on it, please feel free to re-open the PR and ask for a review.

github-actions[bot] avatar Jan 03 '25 03:01 github-actions[bot]