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 2021/01/28 09:00:06 UTC

[GitHub] [shardingsphere] JiekerTime opened a new issue #9204: Encountered the "Single table conflict" problem when "dbtbl_with_replica_query"

JiekerTime opened a new issue #9204:
URL: https://github.com/apache/shardingsphere/issues/9204


   ### Which version of ShardingSphere did you use?
   5.0.0-RC1-SNAPSHOT
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   Proxy server started
   
   ### Actual behavior
   Single table conflict, there are multiple tables `t_single_table` existed.
   
   ### Reason analyze (If you can)
   The Single tables of the master library and the slave library are both loaded causing conflicts
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   Add sql statement based on "shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/env/dbtbl_with_replica_query/init-sql/mysql/init.sql" as follows:
   ```
   CREATE TABLE primary_ds_0.t_single_table (id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (id));
   CREATE TABLE replica_ds_0.t_single_table (id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (id));
   ```
   After that, the Proxy server based on "shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/env/dbtbl_with_replica_query" will not start.


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

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



[GitHub] [shardingsphere] menghaoranss closed issue #9204: Encountered the "Single table conflict" problem when "dbtbl_with_replica_query"

Posted by GitBox <gi...@apache.org>.
menghaoranss closed issue #9204:
URL: https://github.com/apache/shardingsphere/issues/9204


   


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

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