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/04/26 10:15:34 UTC

[GitHub] [shardingsphere] TeslaCN commented on issue #17055: The id generated by the built-in snowflake id generator of shardingsphere is duplicated, and the length is not 64 bits.

TeslaCN commented on issue #17055:
URL: https://github.com/apache/shardingsphere/issues/17055#issuecomment-1109614646

   Hi @carlyin0801 
   I noticed that your code creates instance of `SnowflakeKeyGenerateAlgorithm` every time in loop. Consider using the same instance of `SnowflakeKeyGenerateAlgorithm`.


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