RockteMQ-AI commented on issue #2155: URL: https://github.com/apache/rocketmq-dashboard/issues/2155#issuecomment-5283877775
**Issue Evaluation** Category: `bug` | Status: **Confirmed** The DLQ resend logic correctly caps at 5000 messages but fails to propagate the truncation state back to the caller. Since `scanIncomplete` only checks for failed queues, a full-cap successful resend is indistinguishable from a complete scan — the caller receives `SUCCESS` with `scanIncomplete=false`. **Root Cause:** `scanIncomplete` flag does not account for the hard-cap boundary condition. **Impact:** Operators may believe all DLQ messages were resent when up to N messages were silently omitted. **Severity:** medium — data completeness risk in dead-letter recovery workflow. Suggested fix: after the resend loop, check whether the total eligible count exceeded the hard cap and set a `truncated` flag on the result, classifying it as `PARTIAL` with the cap count in audit details. --- *Automated evaluation by github-manager-bot* -- 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]
