shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

DefaultDataSource config not useful

Open mfeng-ya opened this issue 7 years ago • 2 comments

Bug Report

For English only, other languages will not accept.

Before report a bug, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details. If no response more than 7 days and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

3.1.0

Which project did you use? Sharding-JDBC or Sharding-Proxy?

Sharding-JDBC

Expected behavior

no config rule table use default datasource

Actual behavior

always first datasource used

Reason analyze (If you can)

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

image

Example codes for reproduce this issue (such as a github link).

mfeng-ya avatar Mar 05 '19 10:03 mfeng-ya

hi, thanks for feedback. we have fixed this issue in 4.0.0.M1-SNAPSHOT, you can verify it in dev branch, thanks.

cherrylzhao avatar Mar 06 '19 02:03 cherrylzhao

fix at #1713

cherrylzhao avatar Mar 14 '19 04:03 cherrylzhao