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

   ## Problem
   
   The alert silence inventory returns every row, and every notification 
enqueue/delivery calls `repository.findAll()` before matching time, domain, 
rule, instance and labels in memory.
   
   Expired silence rows are never excluded by the repository query, so the cost 
grows with historical inventory and is paid on the notification hot path.
   
   ## Evidence
   
   - 
`server/src/main/java/org/apache/rocketmq/studio/ops/alert/AlertSilenceController.java:38`
   - 
`server/src/main/java/org/apache/rocketmq/studio/ops/alert/AlertSilenceService.java:87`
   - 
`server/src/main/java/org/apache/rocketmq/studio/ops/alert/MybatisPlusAlertSilenceRepository.java:46`
   - `server/src/main/resources/db/schema.sql:336`
   
   ## Expected behavior
   
   - Provide a bounded paginated silence inventory.
   - Query active candidates in SQL using the existing time/scope indexes 
before label matching.
   - Preserve wildcard domain/rule/instance semantics and overlapping-window 
behavior.
   - Cover expired, future, scoped and label-specific silences.
   


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