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/11/03 03:01:34 UTC

[shardingsphere] branch master updated: add discovery types of ha (#21909)

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 a0fa2c50e04 add discovery types of ha (#21909)
a0fa2c50e04 is described below

commit a0fa2c50e047d092af5e169ef95edd0c61760a2d
Author: CuihongAn <40...@users.noreply.github.com>
AuthorDate: Thu Nov 3 11:01:27 2022 +0800

    add discovery types of ha (#21909)
---
 .../content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.cn.md  | 2 +-
 .../content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.en.md  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.cn.md
index 07aa975616f..0be16bd5eae 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.cn.md
@@ -35,7 +35,7 @@ rules:
   # 数据库发现类型配置
   discoveryTypes:
     <discovery-type-name> (+): # 数据库发现类型名称
-      type: # 数据库发现类型,如:MySQL.MGR 
+      type: # 数据库发现类型,如:MySQL.MGR,MySQL.NORMAL_REPLICATION,openGauss.NORMAL_REPLICATION 
       props (?):
         group-name: 92504d5b-6dec-11e8-91ea-246e9612aaf1 # 数据库发现类型必要参数,如 MGR 的 group-name
 ```
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.en.md
index c2342754b81..4ac2234be6d 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/ha.en.md
@@ -35,7 +35,7 @@ rules:
   # Database Discovery Configuration
   discoveryTypes:
     <discovery-type-name> (+): # Database discovery type name
-      type: # Database discovery type, such as: MySQL.MGR
+      type: # Database discovery type, such as: MySQL.MGR, MySQL.NORMAL_REPLICATION, openGauss.NORMAL_REPLICATION
       props (?):
         group-name: 92504d5b-6dec-11e8-91ea-246e9612aaf1 # Required parameters for database discovery types, such as MGR's group-name
 ```