xhkyyy opened a new pull request #9781:
URL: https://github.com/apache/shardingsphere/pull/9781


   Fixes #8215 
   
   Changes proposed in this pull request:
   - In a transaction, force any sql to be executed on the Master
   
   I recently ran into a problem with shardingsphere-proxy (v4.1.1), where I 
was using the same transaction, inserting first, and then querying but not 
getting results.
   
   **SQL:**
   
   ```sql
   1.drop   TABLE
   2.create TABLE
   
   3.set autoCommit = false
   
   4.insert into TABLE
   
   5.select * from TABLE ( 😭 No data ...)
   
   6.commit
   ```
   
   
   


-- 
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:
[email protected]


Reply via email to