-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ticdc: add doc about config #3745
Conversation
Signed-off-by: Neil Shen <overvenus@gmail.com>
Co-authored-by: amyangfei <amyangfei@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@overvenus Please resolve the conflict. |
Co-authored-by: leoppro <i@leop.pro>
ticdc/manage-ticdc.md
Outdated
case-sensitive = true | ||
|
||
[filter] | ||
# 忽略指定 StartTs 的事务 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# 忽略指定 StartTs 的事务 | |
# 忽略指定 star_ts 的事务 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"start ts" is a term in tidb.
ticdc/manage-ticdc.md
Outdated
protocol = "default" | ||
|
||
[cyclic-replication] | ||
# 是否开启环形复制 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
环形同步
还是复制
呢?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“同步”
ticdc/manage-ticdc.md
Outdated
|
||
### 配置文件兼容注意事项 | ||
|
||
* 4.0.0 移除了 `ignore-txn-commit-ts`,添加了 `ignore-txn-start-ts`,使用 start ts 过滤事务。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 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 过滤事务。 |
ticdc/manage-ticdc.md
Outdated
### 配置文件兼容注意事项 | ||
|
||
* 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)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* 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)。 |
ticdc/manage-ticdc.md
Outdated
enable = false | ||
# 当前 CDC 的复制 ID | ||
replica-id = 1 | ||
# 需要过滤掉的复制 ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
ticdc/manage-ticdc.md
Outdated
case-sensitive = true | ||
|
||
[filter] | ||
# 忽略指定 StartTs 的事务 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"start ts" is a term in tidb.
ticdc/manage-ticdc.md
Outdated
protocol = "default" | ||
|
||
[cyclic-replication] | ||
# 是否开启环形复制 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“同步”
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
PTAL @TomShawn , thanks! |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
ticdc/manage-ticdc.md
Outdated
|
||
如需设置更多同步任务的配置,比如指定同步单个数据表,请参阅[同步任务配置文件描述](#同步任务配置文件描述)。 | ||
|
||
使用方法如下: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
什么的使用方法呢?建议具体一些。Rest LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已更新,麻烦尽快 review 下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@TomShawn,Thanks for your review. |
/run-all-tests |
@overvenus merge failed. |
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #3870 |
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)?