NUAAwqy opened a new pull request, #7123:
URL: https://github.com/apache/rocketmq-dashboard/pull/7123

   ### What does this PR do?
   
   Mock `createAlertRule` and `importAlertRulesTransfer` both derived ids from 
`Date.now()`, so rules created or imported in the same millisecond shared an id 
and became indistinguishable for update/toggle/delete. A `nextAlertRuleId()` 
helper now hands out one past the largest id in use (never below the clock), 
covered by a test that freezes `Date.now`.
   
   Fixes #7101
   


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