ticdc: add doc about config#3745
Merged
Merged
Conversation
Signed-off-by: Neil Shen <overvenus@gmail.com>
18 tasks
amyangfei
reviewed
Jun 19, 2020
Co-authored-by: amyangfei <amyangfei@gmail.com>
Contributor
|
@overvenus Please resolve the conflict. |
zier-one
reviewed
Jun 23, 2020
Co-authored-by: leoppro <i@leop.pro>
TomShawn
suggested changes
Jun 24, 2020
| case-sensitive = true | ||
|
|
||
| [filter] | ||
| # 忽略指定 StartTs 的事务 |
Contributor
There was a problem hiding this comment.
Suggested change
| # 忽略指定 StartTs 的事务 | |
| # 忽略指定 star_ts 的事务 |
Member
Author
There was a problem hiding this comment.
"start ts" is a term in tidb.
| protocol = "default" | ||
|
|
||
| [cyclic-replication] | ||
| # 是否开启环形复制 |
|
|
||
| ### 配置文件兼容注意事项 | ||
|
|
||
| * 4.0.0 移除了 `ignore-txn-commit-ts`,添加了 `ignore-txn-start-ts`,使用 start ts 过滤事务。 |
Contributor
There was a problem hiding this comment.
Suggested change
| * 4.0.0 移除了 `ignore-txn-commit-ts`,添加了 `ignore-txn-start-ts`,使用 start ts 过滤事务。 | |
| * TiDB v4.0.0 中移除了 `ignore-txn-commit-ts`,添加了 `ignore-txn-start-ts`,使用 start_ts 过滤事务。 |
| ### 配置文件兼容注意事项 | ||
|
|
||
| * 4.0.0 移除了 `ignore-txn-commit-ts`,添加了 `ignore-txn-start-ts`,使用 start ts 过滤事务。 | ||
| * 4.0.2 移除了 `db-dbs`/`db-tables`/`ignore-dbs`/`ignore-tables`,添加了 `rules`,使用新版的数据库数据表过滤规则,[详细语法参考](https://github.com/pingcap/tidb-tools/blob/master/pkg/table-filter/README.md)。 |
Contributor
There was a problem hiding this comment.
Suggested change
| * 4.0.2 移除了 `db-dbs`/`db-tables`/`ignore-dbs`/`ignore-tables`,添加了 `rules`,使用新版的数据库数据表过滤规则,[详细语法参考](https://github.com/pingcap/tidb-tools/blob/master/pkg/table-filter/README.md)。 | |
| * TiDB v4.0.2 中移除了 `db-dbs`/`db-tables`/`ignore-dbs`/`ignore-tables`,添加了 `rules`,使用新版的数据库和数据表过滤规则,详细语法参考 [Table Filter](https://github.com/pingcap/tidb-tools/blob/master/pkg/table-filter/README.md)。 |
| enable = false | ||
| # 当前 CDC 的复制 ID | ||
| replica-id = 1 | ||
| # 需要过滤掉的复制 ID |
overvenus
commented
Jun 28, 2020
| case-sensitive = true | ||
|
|
||
| [filter] | ||
| # 忽略指定 StartTs 的事务 |
Member
Author
There was a problem hiding this comment.
"start ts" is a term in tidb.
| protocol = "default" | ||
|
|
||
| [cyclic-replication] | ||
| # 是否开启环形复制 |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Member
Author
|
PTAL @TomShawn , thanks! |
TomShawn
reviewed
Jun 28, 2020
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
TomShawn
reviewed
Jul 2, 2020
|
|
||
| 如需设置更多同步任务的配置,比如指定同步单个数据表,请参阅[同步任务配置文件描述](#同步任务配置文件描述)。 | ||
|
|
||
| 使用方法如下: |
overvenus
commented
Jul 3, 2020
Contributor
|
@TomShawn,Thanks for your review. |
Contributor
|
/run-all-tests |
Contributor
|
@overvenus merge failed. |
TomShawn
reviewed
Jul 3, 2020
Contributor
|
/merge |
Contributor
|
/run-all-tests |
ti-srebot
pushed a commit
to ti-srebot/docs-cn
that referenced
this pull request
Jul 3, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
5 tasks
Contributor
|
cherry pick to release-4.0 in PR #3870 |
ti-srebot
added a commit
that referenced
this pull request
Jul 3, 2020
5 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)
Add doc about TiCDC config.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?