You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case of multiple data sources, if the same table name exists in different data sources, the loading and overwriting of table names and routing errors may occur
#34088
Open
DengQin opened this issue
Dec 17, 2024
· 1 comment
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
project:ShardingSphere-JDBC
Expected behavior
In the case of multiple data sources, if the same table name exists under different data sources, each other data source can correctly load and route its own table independently
Actual behavior
In the case of multiple data sources, if the same table name exists in different data sources, the same table name in the data source loaded later overwrites the tables in the previous data source, resulting in routing errors
Reason analyze (If you can)
The key here causes the later data source table to override the previous existing data source table name。
I think the key here should be concatenated with the library name to maintain the uniqueness of the same table name in the case of multiple data sources
The text was updated successfully, but these errors were encountered:
Bug Report
Which version of ShardingSphere did you use?
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
Expected behavior
Actual behavior
Reason analyze (If you can)
The text was updated successfully, but these errors were encountered: