RockteMQ-AI commented on issue #1433:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/1433#issuecomment-5236486513

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   Missing validation that start time is before end time in message query is a 
valid bug. This should return HTTP 400 with a clear error, not proceed with an 
invalid range.
   
   **Root Cause:** No temporal ordering check on `startTime` vs `endTime` 
before executing the query.
   **Impact:** Wasted broker resources querying an empty/invalid time range; 
confusing results or errors for users.
   **Severity:** Low-Medium — input validation gap.
   
   **Suggested fix:** Add `if (startTime >= endTime)` check and return 400 with 
a descriptive message.
   
   ---
   *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]

Reply via email to