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 2022/01/14 07:43:57 UTC

[GitHub] [shardingsphere] menghaoranss commented on issue #14254: Support automatic generation of instanceId for Memory/Standalone/Cluster mode

menghaoranss commented on issue #14254:
URL: https://github.com/apache/shardingsphere/issues/14254#issuecomment-1012861977


   > @menghaoranss
   > 
   > In memory / standalone mode, we use JDBC(_cosid-jdbc_) as the back-end storage of machine id. and in cluster mode, we use zookeeper(_cosid-zookeeper_) as the back-end storage. What do you think?
   
   @Ahoo-Wang the back-end storage of machine id is based on mode of ShardingSphere, therefore cosid does not need to care about storage, I will pass the `WorkerIdGenerator` to the cosid algorithm, and you can get worker id (machine id) through the interface.


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