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/10/10 06:37:58 UTC

[GitHub] [shardingsphere] zhaojinchao95 opened a new issue, #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] sgunadhya commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   What should be the behavior when the value is not set?


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


[GitHub] [shardingsphere] github-actions[bot] closed issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`
URL: https://github.com/apache/shardingsphere/issues/18914


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


[GitHub] [shardingsphere] TeslaCN commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   @zhaojinchao95 
   Is there any progress?


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


[GitHub] [shardingsphere] sandynz commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   Hi @zhaojinchao95 , could it be done on 5.3.1?


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


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   > @zhaojinchao95 Is there any progress?
   
   Move to 5.3.1 milestone.


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


[GitHub] [shardingsphere] strongduanmu closed issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`
URL: https://github.com/apache/shardingsphere/issues/18914


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


[GitHub] [shardingsphere] github-actions[bot] commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #18914:
URL: https://github.com/apache/shardingsphere/issues/18914#issuecomment-1272349460

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


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


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   > Move to 5.3.1 milestone.
   
   Move to 5.3.2 milestone.


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


[GitHub] [shardingsphere] strongduanmu commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   Hi @zjcnb  , could we finish this issue in `5.1.3`?


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


[GitHub] [shardingsphere] strongduanmu commented on issue #18914: NumberFormatException occurred when use `MySQL.NORMAL_REPLICATION`

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

   Hi, could we finish this issue in 5.2.1?


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