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

drainer/* change more reasonable default config value #439

Merged
merged 4 commits into from
Jan 8, 2019

Conversation

july2993
Copy link
Contributor

@july2993 july2993 commented Jan 7, 2019

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

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest LGTM


# work count to execute binlogs
worker-count = 1
# if the latency between drainer and downstream(mysql or tidb), you might want to increase this
Copy link
Contributor

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

Copy link
Contributor Author

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

100?

@IANTHEREAL
Copy link
Collaborator

LGTM

@july2993
Copy link
Contributor Author

july2993 commented Jan 8, 2019

@WangXiangUSTC PTAL

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@july2993 july2993 merged commit cc6d746 into master Jan 8, 2019
@july2993 july2993 deleted the hjh/change_config branch January 8, 2019 09:16
july2993 added a commit that referenced this pull request Jan 22, 2019
* drainer/* change more reasonable default config value
july2993 added a commit that referenced this pull request Jan 23, 2019
* drainer/* change more reasonable default config value (#439)


* drainer/config.go: more gentle set default (#442)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants