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 invalid crc #11384

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

NyaliaLui
Copy link
Contributor

Recently, #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 PR therefore changes the log for "batch has invalid CRC" to warn level.

Fixes #11361

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

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
@dotnwat dotnwat merged commit a10c7b5 into redpanda-data:dev Jun 13, 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

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

Successfully merging this pull request may close these issues.

CI Failure (batch has invalid CRC) in CloudStorageCompactionTest.test_read_from_replica
4 participants