-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The data source is messed up. #19894
Comments
I want to investigate this issue. |
@natehuangting Thank you for your feedback. Currently, ShardingSphere transactions only support transactions in the same logical database. Transaction support across multiple logic database requires @FlyingZC to help investigate the solution. |
This was referenced Aug 9, 2022
FlyingZC
added a commit
to FlyingZC/shardingsphere
that referenced
this issue
Aug 12, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
The data source is messed up
Which version of ShardingSphere did you use?
master
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
Actual behavior
Data that should have been inserted into another data source is inserted into another data source.
Reason analyze (If you can)
In a transaction, different logical libraries are operated, and the wrong data source is obtained due to the existence of cachedConnections.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
values(122, 48,12,3);
need insert intoxx.xx.xx.34:3366
, but insert intoxx.xx.49:3306
;Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered: