Skip to content

Commit 3dbc09e

Browse files
authored
en, zh: address version support (pingcap#70)
* address version explan * update version * update en version
1 parent 9fb2dfc commit 3dbc09e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

en/feature-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This document describes the data replication features provided by the Data Migra
1010

1111
For different DM versions, pay attention to the different match rules of schema or table names in the table routing, black & white lists, and binlog event filter features:
1212

13-
+ For DM v1.0.4 or later versions, all the above features support the [wildcard match](https://en.wikipedia.org/wiki/Glob_(programming)#Syntax). For all versions of DM, note that there can be **only one** `*` in the wildcard expression, and `*` **must be placed at the end**.
14-
+ For DM versions earlier than v1.0.4, table routing and binlog event filter support the wildcard but do not support the `[...]` and `[!...]` expressions. The black & white lists only supports the regular expression.
13+
+ For DM v1.0.5 or later versions, all the above features support the [wildcard match](https://en.wikipedia.org/wiki/Glob_(programming)#Syntax). For all versions of DM, note that there can be **only one** `*` in the wildcard expression, and `*` **must be placed at the end**.
14+
+ For DM versions earlier than v1.0.5, table routing and binlog event filter support the wildcard but do not support the `[...]` and `[!...]` expressions. The black & white lists only supports the regular expression.
1515

1616
It is recommended that you use the wildcard for matching in simple scenarios.
1717

@@ -110,7 +110,7 @@ The black and white lists filtering rule of the upstream database instance table
110110
black-white-list:
111111
rule-1:
112112
do-dbs: ["test*"] # Starting with characters other than "~" indicates that it is a wildcard;
113-
# v1.0.4 or later versions support the regular expression rules.
113+
# v1.0.5 or later versions support the regular expression rules.
114114
​ do-tables:
115115
- db-name: "test[123]" # Matches test1, test2, and test3.
116116
tbl-name: "t[1-5]" # Matches t1, t2, t3, t4, and t5.

zh/feature-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ category: reference
1010

1111
Table Routing、Black & White Lists、Binlog Event Filter 在匹配库表名时,有以下版本差异:
1212

13-
+ 对于 v1.0.4 版及后续版本,以上功能均支持[通配符匹配](https://en.wikipedia.org/wiki/Glob_(programming)#Syntax)。但注意所有版本中通配符匹配中的 `*` 符号 **只能有一个且必须在末尾**
14-
+ 对于 v1.0.4 以前的版本,Table Routing 和 Binlog Event Filter 支持通配符,但不支持 `[...]``[!...]` 表达式。Black & White Lists 仅支持正则表达式。
13+
+ 对于 v1.0.5 版及后续版本,以上功能均支持[通配符匹配](https://en.wikipedia.org/wiki/Glob_(programming)#Syntax)。但注意所有版本中通配符匹配中的 `*` 符号 **只能有一个且必须在末尾**
14+
+ 对于 v1.0.5 以前的版本,Table Routing 和 Binlog Event Filter 支持通配符,但不支持 `[...]``[!...]` 表达式。Black & White Lists 仅支持正则表达式。
1515

1616
在简单任务场景下推荐使用通配符匹配。
1717

@@ -120,7 +120,7 @@ routes:
120120
```yaml
121121
black-white-list:
122122
rule-1:
123-
do-dbs: ["test*"] # 非 ~ 字符开头,表示规则是通配符;v1.0.4 及后续版本支持通配符规则。
123+
do-dbs: ["test*"] # 非 ~ 字符开头,表示规则是通配符;v1.0.5 及后续版本支持通配符规则。
124124
​ do-tables:
125125
- db-name: "test[123]" # 匹配 test1、test2、test3。
126126
tbl-name: "t[1-5]" # 匹配 t1、t2、t3、t4、t5。

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy