-
Notifications
You must be signed in to change notification settings - Fork 130
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
drainer/* change more reasonable default config value #439
Conversation
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
cmd/drainer/drainer.toml
Outdated
|
||
# work count to execute binlogs | ||
worker-count = 1 | ||
# if the latency between drainer and downstream(mysql or tidb), you might want to increase this |
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.
if the latency between drainer and downstream(mysql or tidb)
this sentence is not smooth
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.
update 6a6c3ef
@@ -28,10 +28,12 @@ pd-urls = "http://127.0.0.1:2379" | |||
ignore-schemas = "INFORMATION_SCHEMA,PERFORMANCE_SCHEMA,mysql" | |||
|
|||
# number of binlog events in a transaction batch | |||
txn-batch = 1 | |||
txn-batch = 20 |
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.
100?
LGTM |
@WangXiangUSTC PTAL |
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
* drainer/* change more reasonable default config value
What problem does this PR solve?
https://internal.pingcap.net/jira/browse/TOOL-803
What is changed and how it works?
change to more reasonable default value
Check List
Tests
Code changes
Side effects
Related changes