-
Notifications
You must be signed in to change notification settings - Fork 188
Conversation
/run-all-tests tidb=release-3.0 |
/run-all-tests tidb=release-3.0 |
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
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, but do not forget to update dumpling in go.mod after its PR merged.
pingcap/dumpling#51 |
Codecov Report
@@ Coverage Diff @@
## master #540 +/- ##
===========================================
Coverage 57.4546% 57.4546%
===========================================
Files 183 183
Lines 19337 19337
===========================================
Hits 11110 11110
Misses 7118 7118
Partials 1109 1109 |
dumpling/dumpling.go
Outdated
} else { | ||
select { | ||
case <-ctx.Done(): | ||
isCanceled = true |
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.
what is the isCanceled
used for?
dumpling/dumpling.go
Outdated
dumpConfig.Where = cfg.Where | ||
} | ||
|
||
var ret []string |
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.
ret
is used to save some unsupported arguments? how about adding a comment
dumpling/dumpling.go
Outdated
|
||
extraArgs := strings.Fields(cfg.ExtraArgs) | ||
if len(extraArgs) > 0 { | ||
ret = append(ret, ParseArgLikeBash(extraArgs)...) |
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.
do we need to parse the extra-args
, like some config in the integration test, the user may set extra-args: "--statement-size=100"
, it may cause incompatible problem
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
Dump sql using dumpling. It's not easy to use for users because they need to download a mydumper binary file.
Dump sql using dumpling. It's not easy to use for users because they need to download a mydumper binary file.
Dump sql using dumpling. It's not easy to use for users because they need to download a mydumper binary file.
What problem does this PR solve?
#526
What is changed and how it works?
Dump sql using dumpling. It's not easy to use for users because they need to download a mydumper binary file.
Check List
Tests
Code changes
Side effects
Related changes
dm/dm-ansible