Aias00 opened a new issue, #2748:
URL: https://github.com/apache/rocketmq-dashboard/issues/2748

   ## Problem
   
   `rmq_alert_notification_outbox` retains every delivery row. Dispatch and 
pagination operate on the table, but there is no independent retention cleanup 
for terminal `DELIVERED` or `FAILED` records. Rows are only removed 
incidentally when acknowledged alert events are cleared.
   
   ## Evidence
   
   - 
`server/src/main/java/org/apache/rocketmq/studio/ops/alert/NotificationOutboxService.java:164`
   - 
`server/src/main/java/org/apache/rocketmq/studio/ops/alert/NotificationOutboxService.java:241`
   - 
`server/src/main/java/org/apache/rocketmq/studio/persistence/mapper/RmqAlertNotificationOutboxMapper.java:21`
   - `server/src/main/resources/db/schema.sql:340`
   
   ## Expected behavior
   
   - Add a configurable notification-delivery retention duration.
   - Delete only terminal delivery rows older than the cutoff.
   - Perform cleanup in bounded batches with a maximum per scheduled pass.
   - Keep pending/retry/sending rows regardless of age.
   - Add cleanup and partial-failure regression coverage.
   


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