zhaojinchao95 opened a new issue, #18914: URL: https://github.com/apache/shardingsphere/issues/18914
Master branch [https://github.com/apache/shardingsphere/commit/b01c9b3bf5bd44e651649b1e1535884bb6f395f9](commitid) Use db-discovery feature - `MySQL.NORMAL_REPLICATION` Not set `delay-milliseconds-threshold` in configuration ``` Exception in thread "main" java.lang.NumberFormatException: null at java.base/java.lang.Long.parseLong(Long.java:655) at java.base/java.lang.Long.parseLong(Long.java:817) at org.apache.shardingsphere.dbdiscovery.mysql.type.MySQLNormalReplicationDatabaseDiscoveryProviderAlgorithm.loadReplicaStatus(MySQLNormalReplicationDatabaseDiscoveryProviderAlgorithm.java:126) at org.apache.shardingsphere.dbdiscovery.algorithm.DatabaseDiscoveryEngine.loadReplicaStatus(DatabaseDiscoveryEngine.java:128) at org.apache.shardingsphere.dbdiscovery.algorithm.DatabaseDiscoveryEngine.postReplicaDataSourceDisabledEvent(DatabaseDiscoveryEngine.java:107) at org.apache.shardingsphere.dbdiscovery.algorithm.DatabaseDiscoveryEngine.changePrimaryDataSource(DatabaseDiscoveryEngine.java:77) at org.apache.shardingsphere.dbdiscovery.rule.DatabaseDiscoveryRule.findPrimaryReplicaRelationship(DatabaseDiscoveryRule.java:122) at org.apache.shardingsphere.dbdiscovery.rule.DatabaseDiscoveryRule.<init>(DatabaseDiscoveryRule.java:82) at org.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder.build(DatabaseDiscoveryRuleBuilder.java:47) at org.apache.shardingsphere.dbdiscovery.rule.builder.DatabaseDiscoveryRuleBuilder.build(DatabaseDiscoveryRuleBuilder.java:36) at org.apache.shardingsphere.infra.rule.builder.database.DatabaseRulesBuilder.build(DatabaseRulesBuilder.java:56) at org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase.create(ShardingSphereDatabase.java:75) at org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabasesFactory.createGenericDatabases(ShardingSphereDatabasesFactory.java:79) at org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabasesFactory.create(ShardingSphereDatabasesFactory.java:67) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.buildMetaDataContexts(ClusterContextManagerBuilder.java:90) at org.apache.shardingsphere.mode.manager.cluster.ClusterContextManagerBuilder.build(ClusterContextManagerBuilder.java:69) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.createContextManager(BootstrapInitializer.java:66) at org.apache.shardingsphere.proxy.initializer.BootstrapInitializer.init(BootstrapInitializer.java:55) at org.apache.shardingsphere.proxy.Bootstrap.main(Bootstrap.java:50) ``` -- 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]
