wangxj3 commented on issue #5525: URL: https://github.com/apache/dolphinscheduler/issues/5525#issuecomment-844011242
> > > @wangxj3 Yeal, I also noticed this problem, this caused by each instance will listen the node path in zookeeper. > ~One possible solution is to get the lock on zookeeper when insert the instance crash alert.~ > Can we think each instance should save at most one unsent instance alert in database? ---Can we think each instance should save at most one unsent instance alert in database? Yes,this we will do something in alert .Do you have a dateil plan? ---And The solution with lock on zookeeper can resove this issue.How ablut that,if we can get the time of server down ,insert this time to t_ds_alert ,this time is the PRIMARY KEY,so other server will fail to insert database. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
