qq254035179 opened a new issue #8666:
URL: https://github.com/apache/shardingsphere/issues/8666


   ## Bug Report
   
   Version:5.0.0-alpha
   Configuration:SPRING BOOT STARTER
   
   When loading the configuration into ShardingRule.class 
   Constructor function:
   
   public ShardingRule(AlgorithmProvidedShardingRuleConfiguration config, 
Collection<String> dataSourceNames) {
   ......
           this.shardingAlgorithms.putAll(config.getShardingAlgorithms());
           this.keyGenerators.putAll(config.getKeyGenerators());
   ......
   
   }
   
   Although the slicing algorithm and primary key generation algorithm are 
configured correctly, the init () method of slicing algorithm and primary key 
algorithm is not called.
   
   For example: invalid worker-id or sharding-count property configuration.
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to