65725738 opened a new issue #6841:
URL: https://github.com/apache/shardingsphere/issues/6841


   Servicea.methoda has a transaction level of REQUIRED, and serviceb.methodB 
has a transaction level of REQUIRES_NEW.
   Servicea.methoda calls serviceb.methodB .Serviceb.methodb throws an 
exception.
   Servicea.methoda captures .
   but  Methoda cannot execute correctly。
   org.springframework.transaction.UnexpectedRollbackException: Transaction 
rolled back because it has been marked as rollback-only
   why?
   It should be if Serviceb.methodB fails to roll back,
   If the exception he throws is caught by Servicea.methoda, the 
servicea.methoda transaction may still commit.
   
   ShardingSphere  4.0.1  mysql5.6 


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