You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "FlyingZC (via GitHub)" <gi...@apache.org> on 2023/05/15 07:29:22 UTC

[GitHub] [shardingsphere] FlyingZC opened a new issue, #25674: [New Feature] Optimize transaction manager creation logic

FlyingZC opened a new issue, #25674:
URL: https://github.com/apache/shardingsphere/issues/25674

   # Background
   Now all transaction managers on the classpath are created by default, which will cause some problems. 
   
   For example, when user only use local transactions, the atomikos xa transaction manager provided by ShardingSphere will be created by default. If the user does not have relevant permissions, an error will be reported.
   
   Related issues are as follows:
   1.Spring has created ShardingSphereConnection through the thread pool in advance.
   If you want to switch the transaction type, you cannot switch the transaction type corresponding to the currently created connection.
   https://github.com/apache/shardingsphere/issues/24694
   
   2.If there are both base and xa transaction dependencies in the class path, the creation of the xa transaction manager will fail.
   https://github.com/apache/shardingsphere/issues/23351
   
   3.Atomikos XA transaction started when it is not configured in server.yaml.
   https://github.com/apache/shardingsphere/issues/18894
   https://github.com/apache/shardingsphere/issues/25264
   
   # Tasks
   - [ ] Remove `TransactionTypeHolder` API.
   - [ ] Only create the transaction manager corresponding to the current `defaultType` transaction type
   
   ### Is your feature request related to a problem?
   
   ### Describe the feature you would like.
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] terrymanu closed issue #25674: [New Feature] Optimize transaction manager creation logic

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #25674: [New Feature] Optimize transaction manager creation logic
URL: https://github.com/apache/shardingsphere/issues/25674


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