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/11/30 12:24:26 UTC

[GitHub] [shardingsphere] yeruilong commented on issue #13871: 关于ShardingSphereXA分布式事务

yeruilong commented on issue #13871:
URL: https://github.com/apache/shardingsphere/issues/13871#issuecomment-982587005


   about ShardingSphereXA Distributed transaction:
   
     @ShardingTransactionType(TransactionType.XA)
     @Transactional(propagation = Propagation.REQUIRED,rollbackFor = Exception.class)
     public Boolean A() {
       mapperA.updateById();
       B();
   }
   
     @Transactional(propagation = Propagation.REQUIRES_NEW,rollbackFor = Exception.class)
     public Boolean b() {
          mapperB.updateById();
    }
   WARN com.atomikos.datasource.xa.XAResourceTransaction - XA resource 'resource-1-master': suspend for XID '3139322E3136382E35362E312E746D313633383237323939323830323030303031:3139322E3136382E35362E312E746D31' raised -5: invalid arguments were given for the XA operation
   com.mysql.cj.jdbc.MysqlXAException: XAER_INVAL: Invalid arguments (or unsupported command)
   
   when I call interface reported an error, but no solution was found


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