Skip to content

Commit

Permalink
Merge pull request #11384 from NyaliaLui/invalid-crc-as-warning
Browse files Browse the repository at this point in the history
k/proto: use log-level warn for invalid crc
  • Loading branch information
dotnwat authored Jun 13, 2023
2 parents f9de4c6 + d4b9b9c commit a10c7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v/kafka/protocol/kafka_batch_adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ iobuf kafka_batch_adapter::adapt(iobuf&& kbatch) {

verify_crc(header.crc, std::move(crcparser));
if (unlikely(!valid_crc)) {
vlog(klog.error, "batch has invalid CRC: {}", header);
vlog(klog.warn, "batch has invalid CRC: {}", header);
return remainder;
}

Expand Down

0 comments on commit a10c7b5

Please sign in to comment.