The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/codex/verify-message-grading has failed.
Run started by GitHub user iloveeyjafjalla (triggered by iloveeyjafjalla).

Head commit for run:
9479ff09d584059082fc15827f476b759386d137 / iloveeyjafjalla <[email protected]>
[ISSUE #11377] fix(proxy): grade a failed VerifyMessage by the outcome the 
client reported

VerifyMessage answered MESSAGE_CORRUPTED for every outcome that was not 
CR_SUCCESS,
although the result is graded on both sides: ClientActivity maps a gRPC client's
FAILED_TO_CONSUME_MESSAGE to CR_LATER (and only its MESSAGE_CORRUPTED to
CR_RETURN_NULL), and a relay result that carries no consume result explains the 
real
reason (for example a client that is not connected). A client that refused to
consume or was offline therefore made the surface report a healthy message as
corrupted.

Use Code.MESSAGE_CORRUPTED only for CR_RETURN_NULL - the single outcome a client
sends for a corrupt message - and Code.FAILED_TO_CONSUME_MESSAGE for the rest,
keeping the relay's remark in the message when the client never answered.

Report URL: https://github.com/apache/rocketmq/actions/runs/38241581323

With regards,
GitHub Actions via GitBox

Reply via email to