Skip to content
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

sync_diff_inspector: add the check-data-only configuration item #19228

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions sync-diff-inspector/sync-diff-inspector-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,16 @@ sync-diff-inspector 的配置总共分为五个部分:

######################### Global config #########################

# 检查数据的线程数量,上下游数据库的连接数会略大于该值
# 检查数据的线程数量,上下游数据库的连接数会略大于该值
check-thread-count = 4

# 如果开启,若表存在不一致,则输出用于修复的 SQL 语句。
export-fix-sql = true

# 只对比表结构而不对比数据
# 只对比数据而不对比表结构,该参数目前为实验特性。
joechenrh marked this conversation as resolved.
Show resolved Hide resolved
check-data-only = false

# 只对比表结构而不对比数据。
check-struct-only = false

# 如果开启,会跳过校验上游或下游不存在的表。
Expand Down
Loading