This is an automated email from the ASF dual-hosted git repository. zhonghongsheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push: new 530c61c4fb9 Update transaction overview picture (#16838) 530c61c4fb9 is described below commit 530c61c4fb986f4f57daacfdc00b2ccea8dbcd90 Author: Liang Zhang <zhangli...@apache.org> AuthorDate: Thu Apr 14 21:20:00 2022 +0800 Update transaction overview picture (#16838) --- .../content/features/transaction/concept/xa.cn.md | 2 +- .../content/features/transaction/concept/xa.en.md | 2 +- .../static/img/transaction/2pc-xa-transaction.png | Bin 91116 -> 0 bytes docs/document/static/img/transaction/overview.png | Bin 0 -> 170128 bytes 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/document/content/features/transaction/concept/xa.cn.md b/docs/document/content/features/transaction/concept/xa.cn.md index e7e1b4676d8..fb244163931 100644 --- a/docs/document/content/features/transaction/concept/xa.cn.md +++ b/docs/document/content/features/transaction/concept/xa.cn.md @@ -8,7 +8,7 @@ weight = 1 与传统的本地事务相比,XA 事务增加了准备阶段,数据库除了被动接受提交指令外,还可以反向通知调用方事务是否可以被提交。 `TM` 可以收集所有分支事务的准备结果,并于最后进行原子提交,以保证事务的强一致性。 - + Java 通过定义 JTA 接口实现了 XA 模型,JTA 接口中的 `ResourceManager` 需要数据库厂商提供 XA 驱动实现, `TransactionManager` 则需要事务管理器的厂商实现,传统的事务管理器需要同应用服务器绑定,因此使用的成本很高。 diff --git a/docs/document/content/features/transaction/concept/xa.en.md b/docs/document/content/features/transaction/concept/xa.en.md index 8aef5c78999..55063ac9bd2 100644 --- a/docs/document/content/features/transaction/concept/xa.en.md +++ b/docs/document/content/features/transaction/concept/xa.en.md @@ -9,7 +9,7 @@ TM and RM use XA protocol for bidirectional streaming. Compared with traditional local transactions, XA transactions have a prepared phase, where the database cannot only passively receive commands, but also notify the submitter whether the transaction can be accepted. TM can collect all the prepared results of branch transactions before submitting all of them together, which has guaranteed the distributed consistency. - + Java implements the XA model through defining a JTA interface, in which `ResourceManager` requires an XA driver provided by database manufacturers and `TransactionManager` is provided by transaction manager manufacturers. Traditional transaction managers need to be bound with application server, which poises a high use cost. Built-in transaction managers have already been able to provide services through jar packages. diff --git a/docs/document/static/img/transaction/2pc-xa-transaction.png b/docs/document/static/img/transaction/2pc-xa-transaction.png deleted file mode 100644 index 98d68ed10f0..00000000000 Binary files a/docs/document/static/img/transaction/2pc-xa-transaction.png and /dev/null differ diff --git a/docs/document/static/img/transaction/overview.png b/docs/document/static/img/transaction/overview.png new file mode 100644 index 00000000000..4bdff1aa304 Binary files /dev/null and b/docs/document/static/img/transaction/overview.png differ