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

k/proto: use log-level warn for missmatch crc #11324

Merged

Conversation

NyaliaLui
Copy link
Contributor

@NyaliaLui NyaliaLui commented Jun 9, 2023

It was revealed that upstream kafka will ignore this error. Therefore, RP should not log it at a high severity. For more context, see the slack thread https://redpandadata.slack.com/archives/C044RD18NMV/p1686288964523829?thread_ts=1686229938.913769&cid=C044RD18NMV

Changes from force-push 41d7317:

  • Add issues/6631 to the commit message
  • Remove missmatch CRC error from DT log_allow_lists

Fixes #6631
Fixes #10169

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.1.x
  • v22.3.x
  • v22.2.x

Release Notes

  • none

It was revealed that upstream kafka will ignore this error. Therefore,
RP should not log it at a high severity.

Fixes redpanda-data#6631
Fixes redpanda-data#10169
Copy link
Contributor

@michael-redpanda michael-redpanda left a comment

Choose a reason for hiding this comment

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

lgtm

@piyushredpanda piyushredpanda merged commit 306f9de into redpanda-data:dev Jun 9, 2023
@vbotbuildovich
Copy link
Collaborator

/backport v23.1.x

@vbotbuildovich
Copy link
Collaborator

/backport v22.3.x

@vbotbuildovich
Copy link
Collaborator

/backport v22.2.x

@vbotbuildovich
Copy link
Collaborator

Failed to run cherry-pick command. I executed the commands below:

git checkout -b backport-pr-11324-v22.3.x-881 remotes/upstream/v22.3.x
git cherry-pick -x 36b01f432baee56e8d2558286e3d8c383948ae00 41d7317aa55800b909dbf8007dd00cd2e1113c04

Workflow run logs.

@vbotbuildovich
Copy link
Collaborator

Failed to run cherry-pick command. I executed the commands below:

git checkout -b backport-pr-11324-v23.1.x-114 remotes/upstream/v23.1.x
git cherry-pick -x 36b01f432baee56e8d2558286e3d8c383948ae00 41d7317aa55800b909dbf8007dd00cd2e1113c04

Workflow run logs.

@vbotbuildovich
Copy link
Collaborator

Failed to run cherry-pick command. I executed the commands below:

git checkout -b backport-pr-11324-v22.2.x-951 remotes/upstream/v22.2.x
git cherry-pick -x 36b01f432baee56e8d2558286e3d8c383948ae00 41d7317aa55800b909dbf8007dd00cd2e1113c04

Workflow run logs.

NyaliaLui added a commit to NyaliaLui/redpanda that referenced this pull request Jun 13, 2023
Recently, redpanda-data#11324 changed the log-level from error to warn for a
CRC missmatch. However, on the same event, RP will also log "batch has
invalid CRC" at the error level.

This commit therefore changes the log for "batch has invalid CRC" to
warn level.

Fixes redpanda-data#11361
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this pull request Jun 13, 2023
Recently, redpanda-data#11324 changed the log-level from error to warn for a
CRC missmatch. However, on the same event, RP will also log "batch has
invalid CRC" at the error level.

This commit therefore changes the log for "batch has invalid CRC" to
warn level.

Fixes redpanda-data#11361

(cherry picked from commit d4b9b9c)
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this pull request Jun 13, 2023
Recently, redpanda-data#11324 changed the log-level from error to warn for a
CRC missmatch. However, on the same event, RP will also log "batch has
invalid CRC" at the error level.

This commit therefore changes the log for "batch has invalid CRC" to
warn level.

Fixes redpanda-data#11361

(cherry picked from commit d4b9b9c)
vbotbuildovich pushed a commit to vbotbuildovich/redpanda that referenced this pull request Jun 13, 2023
Recently, redpanda-data#11324 changed the log-level from error to warn for a
CRC missmatch. However, on the same event, RP will also log "batch has
invalid CRC" at the error level.

This commit therefore changes the log for "batch has invalid CRC" to
warn level.

Fixes redpanda-data#11361

(cherry picked from commit d4b9b9c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants