guoxiangCN commented on issue #1960:
URL: 
https://github.com/apache/shardingsphere-elasticjob/issues/1960#issuecomment-957131358


   > 每次启动覆盖不是更好吗? 在 ***@***.***> 写道:
   > […](#)
   > > hi 你好,对于Job conflict with register > 
center这个问题,我想到一种解决方法,之后没有再出现这个问题,但是我不确定的是这样是否带来了其他问题,请指教,谢谢。 > 
解决方法是在节点启动过程中初始化job任务之前先检查job是否持久化到zookeeper中了,如果存在则先删除,再重新创建job。 > 
![image](https://user-images.githubusercontent.com/14512197/129499977-af0ae25b-be1d-45ce-900a-203cfcb6cc24.png)
 集群你这么做不就是只有一台机器能注册上最后 -- You are receiving this because you are subscribed to 
this thread. Reply to this email directly or view it on GitHub: [#1960 
(comment)](https://github.com/apache/shardingsphere-elasticjob/issues/1960#issuecomment-957071941)
   
   同一个应用 集群中的不同进程起来的到的代理类的名称每次都不一样 假设集群3台机器 只有最后一台机器才注册上了,前两次都被覆盖了不就变成单点了


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