foxgo commented on issue #31964:
URL:
https://github.com/apache/shardingsphere/issues/31964#issuecomment-2367354848
用得版本是shardingsphere-jdbc-core
5.4.1,调试代码,发现ShardingRule.checkManualShardingAlgorithm这个方法有问题,报错信息如下:
org.apache.shardingsphere.sharding.exception.algorithm.sharding.ShardingAlgorithmInitializationException:
Sharding algorithm `MOD` initialization failed, reason is: `phone_record`
tables sharding configuration can not use auto sharding algorithm..
at
org.apache.shardingsphere.sharding.rule.ShardingRule.lambda$checkManualShardingAlgorithm$16(ShardingRule.java:223)
at
org.apache.shardingsphere.infra.exception.core.ShardingSpherePreconditions.checkState(ShardingSpherePreconditions.java:41)
at
org.apache.shardingsphere.sharding.rule.ShardingRule.checkManualShardingAlgorithm(ShardingRule.java:222)
--
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]