shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

Support ShardingSphereDataSource initialization with XA disabled

Open sandynz opened this issue 4 years ago • 4 comments

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:

  1. Refactor ShardingSphereDataSource, make it possible to configure XA enabled or not when initializing ShardingSphereDataSource.
  2. Initialize ShardingSphereDataSource with XA disabled.

sandynz avatar Feb 08 '22 08:02 sandynz

can i take this? thx

ReyYang avatar Feb 09 '22 06:02 ReyYang

Hello , this issue has not received a reply for several days. This issue is supposed to be closed.

github-actions[bot] avatar Oct 08 '22 16:10 github-actions[bot]

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.

github-actions[bot] avatar Mar 28 '24 20:03 github-actions[bot]

Currently, XA won't be initialized when it's configured as LOCAL (default value).

sandynz avatar Aug 29 '24 10:08 sandynz