You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/04/20 06:16:34 UTC

[shardingsphere] branch master updated: fix xa doc (#16939)

This is an automated email from the ASF dual-hosted git repository.

zhangliang 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 3514de3b34f fix xa doc (#16939)
3514de3b34f is described below

commit 3514de3b34f42f069d8ab76811ea0436888498a4
Author: JingShang Lu <ji...@gmail.com>
AuthorDate: Wed Apr 20 14:16:29 2022 +0800

    fix xa doc (#16939)
    
    * fix xa doc
---
 docs/document/content/features/transaction/use-norms/xa.cn.md | 7 ++++---
 docs/document/content/features/transaction/use-norms/xa.en.md | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/docs/document/content/features/transaction/use-norms/xa.cn.md b/docs/document/content/features/transaction/use-norms/xa.cn.md
index a422be60462..c1f72bf63be 100644
--- a/docs/document/content/features/transaction/use-norms/xa.cn.md
+++ b/docs/document/content/features/transaction/use-norms/xa.cn.md
@@ -5,6 +5,8 @@ weight = 2
 
 ## 支持项
 
+* 支持 Savepoint 嵌套事务;
+* PostgreSQL/OpenGauss 事务块内,SQL 执行出现异常,执行 `Commit`,事务自动回滚;
 * 支持数据分片后的跨库事务;
 * 两阶段提交保证操作的原子性和数据的强一致性;
 * 服务宕机重启后,提交/回滚中的事务可自动恢复;
@@ -12,9 +14,8 @@ weight = 2
 
 ## 不支持项
 
-* 服务宕机后,在其它机器上恢复提交/回滚中的数据。
-* Savepoint。
-* 事务块内,SQL 执行出现异常,执行 Commit,数据保持一致。
+* 服务宕机后,在其它机器上恢复提交/回滚中的数据;
+* MySQL 事务块内,SQL 执行出现异常,执行 `Commit`,数据保持一致。
 
 ## 通过 XA 语句控制的分布式事务
 * 通过 XA START 可以手动开启 XA 事务,注意该事务完全由用户管理,ShardingSphere 只负责将语句转发至后端数据库;
diff --git a/docs/document/content/features/transaction/use-norms/xa.en.md b/docs/document/content/features/transaction/use-norms/xa.en.md
index 6c829d502e2..6f7a496bf04 100644
--- a/docs/document/content/features/transaction/use-norms/xa.en.md
+++ b/docs/document/content/features/transaction/use-norms/xa.en.md
@@ -5,6 +5,8 @@ weight = 2
 
 ## Supported
 
+* Support Savepoint;
+* PostgreSQL/OpenGauss, in the transaction block, the SQL execution is abnormal,then run `Commit`,transactions are automatically rollback;
 * Support cross-database transactions after sharding;
 * Operation atomicity and high data consistency in 2PC transactions;
 * When service is down and restarted, commit and rollback transactions can be recovered automatically;
@@ -12,9 +14,8 @@ weight = 2
 
 ## Unsupported
 
-* Recover committing and rolling back in other machines after the service is down.
-* Savepoint.
-* In the transaction block, the SQL execution is abnormal, and run `Commit`, and data remains consistent.
+* Recover committing and rolling back in other machines after the service is down;
+* MySQL,in the transaction block, the SQL execution is abnormal, and run `Commit`, and data remains consistent.
 
 ## XA Transaction managed by XA Statement