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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed** | Severity: **Medium**
   
   The reported issue has been verified. 
`CollectorScheduler.cleanUpSnapshots()` uses an unguarded `Duration.parse` on 
every hourly scheduled run. Any non-ISO-8601 value (e.g., `24h` instead of 
`PT24H`) throws `DateTimeParseException`, the scheduled method silently fails, 
and metric snapshots are never cleaned up.
   
   **Root Cause:** No validation or error handling for malformed duration 
configuration. The exception is swallowed by the scheduler framework.
   
   **Impact:** Silent data accumulation — the snapshot table grows without 
bound while the retention setting appears functional. Operators have no 
indication of misconfiguration.
   
   **Resolution:** PR #4647 correctly adds error handling and logging for 
malformed values.
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
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