You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/04/18 11:24:59 UTC

[shardingsphere] branch master updated: Update scaling SPI doc (#16903)

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

duanzhengqiang 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 f4f03f592db Update scaling SPI doc (#16903)
f4f03f592db is described below

commit f4f03f592dbb6fdfa5b1ee1cb3b9c9ddf80d8ba8
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Mon Apr 18 19:24:54 2022 +0800

    Update scaling SPI doc (#16903)
    
    * Update scaling SPI doc
    
    * Update scaling SPI doc
---
 docs/document/content/dev-manual/scaling.cn.md | 37 +++++++++-----------------
 docs/document/content/dev-manual/scaling.en.md | 27 ++++++-------------
 2 files changed, 21 insertions(+), 43 deletions(-)

diff --git a/docs/document/content/dev-manual/scaling.cn.md b/docs/document/content/dev-manual/scaling.cn.md
index 2557336822f..bd67ccfaee4 100644
--- a/docs/document/content/dev-manual/scaling.cn.md
+++ b/docs/document/content/dev-manual/scaling.cn.md
@@ -19,32 +19,21 @@ chapter = true
 
 ## JobCompletionDetectAlgorithm
 
-| *SPI 名称*                                   | *详细说明*                                   |
-| ------------------------------------------- | ------------------------------------------- |
-| JobCompletionDetectAlgorithm                | 作业是否接近完成检测算法                        |
+| *SPI 名称*                                   | *详细说明*                      |
+| ------------------------------------------- | ------------------------------ |
+| JobCompletionDetectAlgorithm                | 作业是否接近完成检测算法            |
 
-| *已知实现类*                                  | *详细说明*                                   |
-| ------------------------------------------- | ------------------------------------------- |
-| IdleRuleAlteredJobCompletionDetectAlgorithm | 基于增量迁移任务空闲时长的检测算法                |
-
-## DataConsistencyCheckAlgorithm
-
-| *SPI 名称*                                   | *详细说明*                                   |
-| ------------------------------------------- | ------------------------------------------- |
-| DataConsistencyCheckAlgorithm               | 数据一致性校验算法                             |
-
-| *已知实现类*                                  | *详细说明*                                            |
-| ------------------------------------------- | ---------------------------------------------------- |
-| DataMatchDataConsistencyCheckAlgorithm      | 基于数据匹配的一致性校验算法。类型名:DATA_MATCH     |
-| CRC32MatchDataConsistencyCheckAlgorithm     | 基于数据 CRC32 匹配的一致性校验算法。类型名:CRC32_MATCH    |
+| *已知实现类*                                  | *详细说明*                       |
+| ------------------------------------------- | ------------------------------- |
+| IdleRuleAlteredJobCompletionDetectAlgorithm | 基于增量迁移任务空闲时长的检测算法    |
 
 ## SingleTableDataCalculator
 
-| *SPI 名称*                                   | *详细说明*                                            |
-| ------------------------------------------- | ---------------------------------------------------- |
-| SingleTableDataCalculator                   | 给数据一致性校验使用的单表数据计算算法                     |
+| *SPI 名称*                                   | *详细说明*                       |
+| ------------------------------------------- | ------------------------------- |
+| SingleTableDataCalculator                   | 给数据一致性校验使用的单表数据计算算法 |
 
-| *已知实现类*                                  | *详细说明*                                                              |
-| ------------------------------------------- | ---------------------------------------------------------------------- |
-| DataMatchSingleTableDataCalculator          | 给 DATA_MATCH 数据一致性校验算法使用的单表数据计算算法。适用于所有数据库        |
-| CRC32MatchMySQLSingleTableDataCalculator    | 给 CRC32_MATCH 数据一致性校验算法使用的单表数据计算算法。适用于 MySQL          |
+| *已知实现类*                                  | *详细说明*                       |
+| ------------------------------------------- | ------------------------------- |
+| DataMatchSingleTableDataCalculator          | 根据数据逐条校验数据一致性的算法      |
+| CRC32MatchSingleTableDataCalculator         | 使用 CRC32 校验数据一致性的算法     |
diff --git a/docs/document/content/dev-manual/scaling.en.md b/docs/document/content/dev-manual/scaling.en.md
index eb05632abca..8e872515c52 100644
--- a/docs/document/content/dev-manual/scaling.en.md
+++ b/docs/document/content/dev-manual/scaling.en.md
@@ -15,7 +15,7 @@ chapter = true
 | ---------------------- | --------------------------- |
 | MySQLScalingEntry      | MySQL entry of scaling      |
 | PostgreSQLScalingEntry | PostgreSQL entry of scaling |
-| OpenGaussScalingEntry  | openGauss entry of scaling |
+| OpenGaussScalingEntry  | openGauss entry of scaling  |
 
 ## JobCompletionDetectAlgorithm
 
@@ -27,24 +27,13 @@ chapter = true
 | ------------------------------------------- | ------------------------------------------- |
 | IdleRuleAlteredJobCompletionDetectAlgorithm | Incremental task idle time based algorithm  |
 
-## DataConsistencyCheckAlgorithm
-
-| *SPI Name*                                  | *Description*                               |
-| ------------------------------------------- | ------------------------------------------- |
-| DataConsistencyCheckAlgorithm               | Data consistency check algorithm on source and target database cluster |
-
-| *Implementation Class*                      | *Description*                                                          |
-| ------------------------------------------- | ---------------------------------------------------------------------- |
-| DataMatchDataConsistencyCheckAlgorithm      | Records content match implementation. Type name: DATA_MATCH.           |
-| CRC32MatchDataConsistencyCheckAlgorithm     | Records CRC32 match implementation. Type name: CRC32_MATCH.            |
-
 ## SingleTableDataCalculator
 
-| *SPI Name*                                  | *Description*                                                          |
-| ------------------------------------------- | ---------------------------------------------------------------------- |
-| SingleTableDataCalculator                   | Single table data calculator for data consistency check                |
+| *SPI Name*                                  | *Description*                                           |
+| ------------------------------------------- | ------------------------------------------------------- |
+| SingleTableDataCalculator                   | Single table data calculator for data consistency check |
 
-| *Implementation Class*                      | *Description*                                                          |
-| ------------------------------------------- | ---------------------------------------------------------------------- |
-| DataMatchSingleTableDataCalculator          | Single table data calculator for DATA_MATCH data consistency check     |
-| CRC32MatchMySQLSingleTableDataCalculator    | Single table data calculator for CRC32_MATCH data consistency check    |
+| *Implementation Class*                      | *Description*                                        |
+| ------------------------------------------- | ---------------------------------------------------- |
+| DataMatchSingleTableDataCalculator          | Check data consistency with every recodes one by one |
+| CRC32MatchMySQLSingleTableDataCalculator    | Use CRC32 to check data consistency                  |