Liguangmin opened a new issue, #18462:
URL: https://github.com/apache/dolphinscheduler/issues/18462

   ### Search before asking
   
   - [x] I had searched in the 
[DSIP](https://github.com/apache/dolphinscheduler/issues/14102) and found no 
similar DSIP.
   
   
   ### Motivation
   
   When running on TiDB, the primary key of t_ds_alert using default 
AUTO_INCREMENT is not globally monotonically increasing.
   Our incremental consumer loads alerts by filtering id > last_max_id. Some 
later inserted alert rows get smaller IDs and will never be consumed, which 
leads to lost task failure alerts.
   
   
   ### Design Detail
   
   To mitigate this risk, we propose adding a fallback check: scan records 
created in the last 10 minutes with alert_status = 0 as supplementary data 
retrieval.
   
   ### Compatibility, Deprecation, and Migration Plan
   
   _No response_
   
   ### Test Plan
   
   _No response_
   
   ### 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]

Reply via email to