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 2020/03/24 06:45:16 UTC

[GitHub] [incubator-shardingsphere] leehom opened a new issue #4910: how to integerating sharding and non-sharding transaction with xa

leehom opened a new issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910
 
 
      ss supports xa with sharding datasource,but in most time,we have other non-sharding tables,how to integerating them into a transaction with xa?
   

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


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] cherrylzhao commented on issue #4910: how to integerating sharding and non-sharding transaction with xa

Posted by GitBox <gi...@apache.org>.
cherrylzhao commented on issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910#issuecomment-605384226
 
 
   I think we can open the api after our pluginable-platform finished

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


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] ssxlulu commented on issue #4910: how to integerating sharding and non-sharding transaction with xa

Posted by GitBox <gi...@apache.org>.
ssxlulu commented on issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910#issuecomment-604237131
 
 
   You can use Begin ... COMMIT around your sqls.
   Like this:
   ```
   BEGIN;
   UPDATE TABLE non-sharding-table SET name = 'xiaoming' WHERE id = 1;
   UPDATE TABLE sharding-table SET name = 'xiaoming' WHERE id = 1;
   COMMIT;
   ```
   For ss, we will treat these sqls as one transaction.

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


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] leehom commented on issue #4910: how to integerating sharding and non-sharding transaction with xa

Posted by GitBox <gi...@apache.org>.
leehom commented on issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910#issuecomment-605383925
 
 
   default datasource ? , ok, i should have a test . can ss open an api , developer can manually enlist non-sharding datasouce into sharding xa transaction 

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


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] cherrylzhao commented on issue #4910: how to integerating sharding and non-sharding transaction with xa

Posted by GitBox <gi...@apache.org>.
cherrylzhao commented on issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910#issuecomment-605374615
 
 
   yes, we only support distributed transaction in sharding way. for none-sharing table I think you can config the default datasource in sharding-datasource, the XA transaction will also effective.

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


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] cherrylzhao closed issue #4910: how to integerating sharding and non-sharding transaction with xa

Posted by GitBox <gi...@apache.org>.
cherrylzhao closed issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910
 
 
   

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


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] cherrylzhao commented on issue #4910: how to integerating sharding and non-sharding transaction with xa

Posted by GitBox <gi...@apache.org>.
cherrylzhao commented on issue #4910: how to integerating sharding and non-sharding transaction with xa 
URL: https://github.com/apache/incubator-shardingsphere/issues/4910#issuecomment-610849588
 
 
   close this issue for no response for more than 7 days

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


With regards,
Apache Git Services