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/02/20 01:18:08 UTC

[GitHub] [shardingsphere-elasticjob] bestmemory edited a comment on issue #1832: The docker container deploys es job, the IP address obtained is the docker container's IP, and the task is repeated

bestmemory edited a comment on issue #1832:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1832#issuecomment-782505308


   Hi @TeslaCN 
   because, the IP address registered on ZK is the same, and the IP address is docker container's ip (like this: 172.17.0.5), so they may be the same. 
   For example, I have a task, which is divided into two pieces of execution, and there are two instances. In this way, two pieces of tasks will be executed on each instance, resulting in repeated tasks. (if the IP address is different, each instance should execute one piece of task.)
   So, can you help me resolve the question? thanks
   


----------------------------------------------------------------
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:
users@infra.apache.org