The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/codex/invalid-receipt-handle-code has failed.
Run started by GitHub user iloveeyjafjalla (triggered by iloveeyjafjalla).

Head commit for run:
825be19b730208a4d116039700f5d75d6ee7855f / iloveeyjafjalla <[email protected]>
[ISSUE #11375] fix(proxy): report an unparseable receipt handle as 
INVALID_RECEIPT_HANDLE

ReceiptHandle.decode throws IllegalArgumentException for a handle that does not
parse, and ResponseBuilder maps that to INTERNAL_SERVER_ERROR. An expired handle
already reports INVALID_RECEIPT_HANDLE (the processor validates it), so the two
kinds of bad handle disagreed. The official clients only give up on a message 
for
INVALID_RECEIPT_HANDLE and retry the ack every second otherwise, so a malformed
handle produced an endless retry loop plus server-error logs; in the batch ack
path the parse failure also failed the whole request, valid entries included.

Decode through ProxyUtils#decodeReceiptHandle, which reports the parse failure 
as
ProxyException(INVALID_RECEIPT_HANDLE), and use it in the ack (single and 
batch),
change-invisible-time and forward-to-DLQ paths.

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

With regards,
GitHub Actions via GitBox

Reply via email to