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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
