You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by juan pan <pa...@apache.org> on 2019/01/02 02:31:07 UTC

Re: [Refactor]Sharding-transaction-2pc XA design

I am interested in your design of Sharding-transaction-2pc XA, and the
architecture diagram is clear. Hope this work goes well.

---------------------------------
Juan Pan (Trista)
Apache ShardingSphere


zhaojun <zh...@126.com> 于2018年12月28日周五 下午12:24写道:

> Hi, all
>
> I'll refactor sharding-transaction-2pc-xa, here[1] is the detail design,
> please feel free to give me some advices.
> changes
>
> faced to XA DataSource to handle XA Connection instead of
> AtomikosDataSourceBean
> adapt Connection to XAConnection if needed
> Get XAResource, then inject it into XA transactionManager if needed
> Add ShardingTransactionAPI to handle all transaction operation, this can
> be used in other transaction type
>
>
> [1] https://github.com/sharding-sphere/sharding-sphere/issues/1694
>
>
> ------------------
> Zhao Jun
> Apache Sharding-Sphere & ServiceComb
>
>