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 2022/04/12 14:49:42 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new issue, #16777: Reject execution of non-query DistSQL in transaction

RaigorJiang opened a new issue, #16777:
URL: https://github.com/apache/shardingsphere/issues/16777

   Hi community,
   
   In ShardingSphere-Proxy, if user begins a transaction and executes DistSQL during the transaction:
   - DistSQL will not wait for commit, the execution will take effect immediately.
   - Changes made by DistSQL will not be rolled back when the transaction is rolled back.
   
   After discussion with @tristaZero , we have a plan:
   When a connection is in a transaction, the connection will no longer accept the execution of non-query DistSQL, that is, the execution of RDLStatement and UpdatableRALStatement will be rejected.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] RaigorJiang commented on issue #16777: Reject execution of non-query DistSQL in transaction

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #16777:
URL: https://github.com/apache/shardingsphere/issues/16777#issuecomment-1127234541

   fixed by #17632.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] RaigorJiang closed issue #16777: Reject execution of non-query DistSQL in transaction

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #16777: Reject execution of non-query DistSQL in transaction
URL: https://github.com/apache/shardingsphere/issues/16777


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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