Repository navigation
docs(dm): fix stale event-filter and binlog-schema examples (#22020) - #22022
ti-chi-bot[bot] merged 4 commits into
Conversation
Findings
|
| Layer / File(s) | Summary |
|---|---|
过滤条件与示例 filter-binlog-event.md |
说明 DM 自动跳过存储过程语句,并补充分区操作支持情况及解析失败时全局规则的适用条件。SQL 正则匹配 SQL 文本,包括字符串字面量;示例改为仅过滤匹配 ADD PARTITION 或 DROP PARTITION 的 SQL。 |
分库迁移过滤规则
| Layer / File(s) | Summary |
|---|---|
迁移过滤规则 migrate-small-mysql-shards-to-tidb.md |
过滤说明限定为不兼容的 DDL 事件。sale-filter-rule 移除 delete,保留 truncate table 和 drop table。 |
binlog-schema 命令示例
| Layer / File(s) | Summary |
|---|---|
更新命令示例 migrate-with-more-columns-downstream.md |
binlog-schema update 示例改用数据库名、表名和 schema 文件的位置参数,并将文件名改为 log.messages.sql。 |
Priority:
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Other
Possibly related PRs
- pingcap/docs-cn#22020:该 PR 是主 PR 的自动 cherry-pick,包含相同的 DM 文档示例和过滤规则说明。
Suggested labels: size/XS, type/cherry-pick-for-release-8.5, translation/from-docs, needs-cherry-pick-master, needs-cherry-pick-release-8.1
Suggested reviewers: qiancai
Merge Risk: 
Low · up to 7902e
-
Update the detailed PROCEDURE filtering example before merge to avoid unnecessary or misleading migration configuration.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
There was a problem hiding this comment.
Actionable comments posted: 1

Review info
-
Run configuration-
- Source mode: Auto
- Repository: pingcap/docs-cn
- Branch: release-8.5
- File: .coderabbit.yaml
- Commit: aed7620
- Layers: Repository YAML
- Review profile: ASSERTIVE
- Plan: Advanced
- Run ID:
e02ae6d5-7eb4-4ce6-b586-5a25e6fbfc7d
Files selected for processing: 3-
filter-binlog-event.mdmigrate-small-mysql-shards-to-tidb.mdmigrate-with-more-columns-downstream.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
-
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiancai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #22020
What is changed, added or deleted? (Required)
deleteDML event.binlog-schema updateexample to match the current positional-argument syntax.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit
delete事件。binlog-schema update命令示例,改用位置参数。