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/07/16 15:32:48 UTC

[shardingsphere] branch master updated: Update ha.en.md (#19273)

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 cfcad49be2e Update ha.en.md (#19273)
cfcad49be2e is described below

commit cfcad49be2ea8f83385e350c3c8654d1aec944dd
Author: Swastika Gupta <64...@users.noreply.github.com>
AuthorDate: Sat Jul 16 21:02:43 2022 +0530

    Update ha.en.md (#19273)
---
 docs/document/content/dev-manual/ha.en.md | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/docs/document/content/dev-manual/ha.en.md b/docs/document/content/dev-manual/ha.en.md
index c420d367289..57425af1c4d 100644
--- a/docs/document/content/dev-manual/ha.en.md
+++ b/docs/document/content/dev-manual/ha.en.md
@@ -5,19 +5,21 @@ weight = 9
 chapter = true
 +++
 
-## SPI Interface
+## DatabaseDiscoveryProviderAlgorithm
 
-| *SPI Name*                                                    | *Description*                        |
-| ------------------------------------------------------------ | -------------------------------- |
-| DatabaseDiscoveryProviderAlgorithm                           | Database discovery provider algorithm                     |
+### Fully-qualified class name
 
-## Sample
+[`org.apache.shardingsphere.dbdiscovery.spi.DatabaseDiscoveryProviderAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-api/src/main/java/org/apache/shardingsphere/dbdiscovery/spi/DatabaseDiscoveryProviderAlgorithm.java)
 
-### DatabaseDiscoveryProviderAlgorithm
+### Definition
 
-| *Implementation Class*                                                   | *Description*                         |
-| ------------------------------------------------------------ | --------------------------------- |
-| MGRDatabaseDiscoveryProviderAlgorithm                        | MySQL MGR-based database discovery provider algorithm       |
-| MySQLNormalReplicationDatabaseDiscoveryProviderAlgorithm     | Database discovery provider algorithm of MySQL’s replication     |
-| OpenGaussNormalReplicationDatabaseDiscoveryProviderAlgorithm | Database discovery provider algorithm of openGauss’s replication |
+Database discovery provider algorithm's definition
+
+### Implementation classes
+
+| *Configuration Type* | *Description*                             | *Fully-qualified class name* |
+| -------------------- | ----------------------------------------- | ---------------------------- |
+| MySQL.MGR                       | MySQL MGR-based database discovery provider algorithm       | [`org.apache.shardingsphere.dbdiscovery.mysql.type.MGRMySQLDatabaseDiscoveryProviderAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MGRMySQLDatabaseDiscoveryProviderAlgorithm.java) |
+| MySQL.NORMAL_REPLICATION     | Database discovery provider algorithm of MySQL’s replication     | [`org.apache.shardingsphere.dbdiscovery.mysql.type.MySQLNormalReplicationDatabaseDiscoveryProviderAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/type/MySQLNormalReplicationDatabaseDiscoveryProv [...]
+| openGauss.NORMAL_REPLICATION | Database discovery provider algorithm of openGauss’s replication | [`org.apache.shardingsphere.dbdiscovery.opengauss.OpenGaussNormalReplicationDatabaseDiscoveryProviderAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-opengauss/src/main/java/org/apache/shardingsphere/dbdiscovery/opengauss/OpenGaussNormalReplicationDatabaseDis [...]