wudabin001 opened a new issue, #7325: URL: https://github.com/apache/incubator-seata/issues/7325
方法A上加了这两个注解 @GlobalTransactional(rollbackFor = Exception.class) @DxGlobalLock(),调用方法B,方法B中有新增,但是新增前有查询断言抛出异常后,事务无法进行回滚RollbackFailed,方法A中的新增数据依然存在,然后再进行操作就报超时跟获取锁失败 seata-server-2.0.0,JDK17,MYSQL8.0 Hibernate transaction: Unable to commit against JDBC Connection; Global lock wait timeout Caused by: org.apache.seata.rm.datasource.exec.LockWaitTimeoutException: Global lock wait timeout Caused by: org.apache.seata.rm.datasource.exec.LockConflictException: get global lock fail -- 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-unsubscr...@seata.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org