RockteMQ-AI commented on issue #10943: URL: https://github.com/apache/rocketmq/issues/10943#issuecomment-5394927368
**Issue Evaluation** Category: `bug` | Status: **Confirmed** Clear reproduction. `EscapeBridge.decodeMsgList` unconditionally indexes into the queue-offset list without bounds checking, turning a recoverable metadata inconsistency into a hard failure. **Root Cause:** Missing bounds guard in `decodeMsgList` — `getMessageQueueOffset().get(i)` assumes the offset list is always at least as long as the message buffer list. **Impact:** Escape-bridge failover reads fail with `IndexOutOfBoundsException` when queue-offset metadata is incomplete, reducing availability during broker failover. **Severity:** Medium The proposed fix (guard offset lookup, add regression test) is well-scoped and straightforward. --- *Automated evaluation by github-manager* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
