-
Notifications
You must be signed in to change notification settings - Fork 499
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
Fix default tidb-drainer config #793
Conversation
…ner config format
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
1 similar comment
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
/ok-to-test |
/run-e2e-in-kind |
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
@WangXiangUSTC @july2993 Could you please take a look? |
start from 2.1.16, pump/drainer will return error when loading some undefined configs: pingcap/tidb-binlog#708
I will suggest compressor as "" default, rest LGTM |
@july2993 Addressed your review comment. To all reviewers: PTAL again. Thanks. |
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
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
/run-e2e-in-kind |
/run-e2e-test |
/run-e2e-test |
…compatible with the (#1164) * Fix default tidb-drainer config to be compatible with the latest drainer config format * Disable payload compression by default
What problem does this PR solve?
#792
What is changed and how does it work?
Default tidb-drainer config is adjusted to be compatible with the latest drainer config format.
To be more specific:
detect-interval is moved out from [syncer]
db-type value is changed from pb to file
compression is moved out from [syncer] and renamed to compressor
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: