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/25 07:40:48 UTC

[GitHub] [shardingsphere] valleyG opened a new issue #9504: HashModShardingAlgorithm can not working!

valleyG opened a new issue #9504:
URL: https://github.com/apache/shardingsphere/issues/9504


   my yml setting:
             hash-mode-algorithm:
               type: HASH_MOD
               props:
                 sharding-count: 10
   Why is it by zero when doing routing?
   ![image](https://user-images.githubusercontent.com/37858395/109119395-95a36f00-777f-11eb-8341-a2a32c1c1434.png)
   why this prop is 0:
   no call init method?
   How to solve the problem;
   thinks!


----------------------------------------------------------------
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] terrymanu closed issue #9504: HashModShardingAlgorithm can not working!

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #9504:
URL: https://github.com/apache/shardingsphere/issues/9504


   


-- 
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] tristaZero commented on issue #9504: HashModShardingAlgorithm can not working!

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #9504:
URL: https://github.com/apache/shardingsphere/issues/9504#issuecomment-787671084


   Hi which version is running?
   If ` init()` does not execute, it is definitely you got the exception. But, ` init()` is supposed to run.
   


----------------------------------------------------------------
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] tristaZero commented on issue #9504: HashModShardingAlgorithm can not working!

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #9504:
URL: https://github.com/apache/shardingsphere/issues/9504#issuecomment-786373644


   Hi, 
   
   I guess it is simple for you to work out why the `shardingCount` = 0. Just set a breakpoint at `getShardingCount()`


----------------------------------------------------------------
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] valleyG commented on issue #9504: HashModShardingAlgorithm can not working!

Posted by GitBox <gi...@apache.org>.
valleyG commented on issue #9504:
URL: https://github.com/apache/shardingsphere/issues/9504#issuecomment-786380071


   @tristaZero 
   thanks!
   i have set a breakpoint at getShardingCount() and init().
   but no one calls these two methods.


----------------------------------------------------------------
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] terrymanu commented on issue #9504: HashModShardingAlgorithm can not working!

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


   Closed because of no feedback


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