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 2020/08/10 02:38:41 UTC

[GitHub] [shardingsphere-elasticjob] bjhan opened a new issue #1350: If the number of partitions is set to 1 and multiple nodes are deployed, is there any way to make the first started node as the primary node when it exists?

bjhan opened a new issue #1350:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1350


   ## Question
   
   
   If the number of partitions is set to 1 and multiple nodes are deployed, is there any way to make the first started node as the primary node when it exists? When the following nodes are added, even if the primary node is re elected, the result of the election is the first activated node as the master node?


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



[GitHub] [shardingsphere-elasticjob] terrymanu commented on issue #1350: If the number of partitions is set to 1 and multiple nodes are deployed, is there any way to make the first started node as the primary node when it exists?

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #1350:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1350#issuecomment-671142324


   It is possible if you customize your job sharding strategy.
   FYI: 
   https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/sharding/
   & 
   https://shardingsphere.apache.org/elasticjob/current/en/dev-manual/sharding/


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



[GitHub] [shardingsphere-elasticjob] bjhan closed issue #1350: If the number of partitions is set to 1 and multiple nodes are deployed, is there any way to make the first started node as the primary node when it exists?

Posted by GitBox <gi...@apache.org>.
bjhan closed issue #1350:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1350


   


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



[GitHub] [shardingsphere-elasticjob] bjhan commented on issue #1350: If the number of partitions is set to 1 and multiple nodes are deployed, is there any way to make the first started node as the primary node when it exists?

Posted by GitBox <gi...@apache.org>.
bjhan commented on issue #1350:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1350#issuecomment-671143878


   > It is possible if you customize your job sharding strategy.
   > FYI:
   > https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/sharding/
   > &
   > https://shardingsphere.apache.org/elasticjob/current/en/dev-manual/sharding/
   
   thank you


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