cherrylzhao commented on issue #2854: modify the enlistment to support the transaction propagation REQUIRES_NEW URL: https://github.com/apache/incubator-shardingsphere/pull/2854#issuecomment-521149343 I see, REQUIRES_NEW works on different connection to support new transaction. forward the enlistResource to TM can indeed solve this problem. but in ShardingSphere there also have some scenarios that getting multiple connections from one datasource, we should avoid to enlist same XAResource(same datasourceName) more than once.
---------------------------------------------------------------- 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] With regards, Apache Git Services
