ymwangzq opened a new issue, #9817: URL: https://github.com/apache/shardingsphere/issues/9817
https://github.com/apache/shardingsphere/blob/2f3a4d28a64b36de3577163b22eaa63cc2ee8199/shardingsphere-transaction/shardingsphere-transaction-base/shardingsphere-transaction-base-seata-at/src/main/java/org/apache/shardingsphere/transaction/base/seata/at/TransactionalSQLExecutionHook.java#L40 When using seata AT mode, ShardingConnection.transactionType is TransactionType.BASE, so ShardingConnection.isHoldTransaction is false, too. Which let ExecutorEngine execute in parallel mode. In ExecutorEngine.parallelExecute, there is no promise that syncExecute happens before then asyncExecute, so there is a chance that asyncExecute task run without current global transaction context. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
