Support ShardingSphereDataSource initialization with XA disabled
Feature Request
Is your feature request related to a problem?
No
Describe the feature you would like.
Currently, when creating a new ShardingSphereDataSource, XA is enabled by default, XA feature will be initialized. Scaling will create new ShardingSphereDataSource, but XA is not necessary for scaling, it's better to disable XA for scaling for better performance and avoid possible XA connection leak (e.g. #13479).
TODO:
- Refactor
ShardingSphereDataSource, make it possible to configure XA enabled or not when initializingShardingSphereDataSource. - Initialize
ShardingSphereDataSourcewith XA disabled.
can i take this? thx
Hello , this issue has not received a reply for several days. This issue is supposed to be closed.
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
Currently, XA won't be initialized when it's configured as LOCAL (default value).