You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/18 12:05:30 UTC

[GitHub] [incubator-shardingsphere] zhouxianrongtest opened a new issue #2051: 2个数据源事务无法回滚

zhouxianrongtest opened a new issue #2051: 2个数据源事务无法回滚
URL: https://github.com/apache/incubator-shardingsphere/issues/2051
 
 
   1:程序连了A和B两个数据库,A数据源声明为@Primary
   2:测试A库一个单表的多条写入时,当代码发生异常,数据库事务回滚
   3:测试B库时,事务无法回滚,比如我insert 4条记录,当insert完第2条后throw Exception,这时数据库表已经写入了前面2个记录
   4:期望是B库的写入2条记录被回滚
   

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