geosmart opened a new issue #6880:
URL: https://github.com/apache/dolphinscheduler/issues/6880


   ### 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
   
    I use docker to deploy master, I have 2 master.
   when I restart them by ansible:
   1. master1 stop,remove zk node: `nodes/master/master1`
   2. master1 start, remove zk node:`nodes/dead-servers/master1`
   3. master2 watch master1 down, add zk node:`nodes/dead-servers/master1`
   4. master1 watch add zk node:`nodes/dead-servers/master1`,master1 kill 
itself. stop quartz  will auto close jdbc connection , and every zk watch event 
will throw `com.alibaba.druid.pool.DataSourceClosedException: dataSource 
already`
   
   so if you have multi master , and quickly restart one if them , the master 
just can not restart succesfully.
   
   
   ### What you expected to happen
   
   anytime restart the master ,it can just restart success
   
   ### How to reproduce
   
   when watch master down,  should check the master is not exist in 
`nodes/master/master1` and then add it to `nodes/dead-servers/master1`
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   1.3.6
   
   ### Are you willing to submit PR?
   
   - [ ] 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]


Reply via email to