You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/11/02 04:58:05 UTC

[GitHub] [shardingsphere-elasticjob] CheukBinLi commented on issue #1960: Job conflict with register center

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


   每次启动覆盖不是更好吗?
   
   在 ***@***.***> 写道:
   >> 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:
   > https://github.com/apache/shardingsphere-elasticjob/issues/1960#issuecomment-957071941
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org