rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[ISSUE #9852] Print full message content when CRC not found in properties

Open guyinyou opened this issue 2 months ago • 1 comments

When the error 'failed to check message CRC, not found CRC in properties' occurs, now it will print the full message content including topic, properties map, properties length, and full message hex for debugging purposes.

Change-Id: I26d977e13802c5e69d01f16512e40d121dcff354 Co-developed-by: Cursor [email protected]

Which Issue(s) This PR Fixes

Fixes #9852

Brief Description

How Did You Test This Change?

guyinyou avatar Nov 14 '25 03:11 guyinyou

Codecov Report

:x: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 48.29%. Comparing base (b77f2ab) to head (2a2f54e).

Files with missing lines Patch % Lines
...main/java/org/apache/rocketmq/store/CommitLog.java 0.00% 7 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #9853   +/-   ##
==========================================
  Coverage      48.29%   48.29%           
  Complexity     12258    12258           
==========================================
  Files           1314     1314           
  Lines          93903    93910    +7     
  Branches       12046    12047    +1     
==========================================
+ Hits           45350    45354    +4     
+ Misses         42928    42927    -1     
- Partials        5625     5629    +4     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Nov 14 '25 04:11 codecov-commenter