You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "SuperCarrys (via GitHub)" <gi...@apache.org> on 2023/06/09 10:00:32 UTC

[GitHub] [shardingsphere-elasticjob] SuperCarrys commented on issue #2226: 2.X和3.X elasticjob-lite版本选主逻辑在遍历存活实例instances下的ip去匹配servers下的ip时使用startsWith,在某种异常情况下会导致选主进入死循环

SuperCarrys commented on issue #2226:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2226#issuecomment-1584308620

   如果任务pod在新启动时,设置了disabled=true,这时job就应该把之前所有serves下ip节点的状态都改为DISABLED,而不是只有新ip下的状态为DISABLED,或者就直接将servers下的ip节点从永久节点改为临时节点,老的pod下线后直接删除ip信息


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