DHBin opened a new issue #9298: URL: https://github.com/apache/dolphinscheduler/issues/9298
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened https://github.com/apache/dolphinscheduler/blob/d88656c4cef300e3360689d0d9f70523f74ac0e8/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java#L117-L118 multiple alert nodes execute `alertDao.listPendingAlerts()` at the same time to obtain the same alert, which will cause the same Alert to be sent multiple times ### What you expected to happen - ### How to reproduce - ### Anything else _No response_ ### Version 2.0.5 ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
