-
Notifications
You must be signed in to change notification settings - Fork 85
*: reduce dumpling accessing database and information_schema usage to improve its stability #305
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.
will review later
v4/export/config.go
Outdated
@@ -169,6 +169,13 @@ func DefaultConfig() *Config { | |||
} | |||
} | |||
|
|||
// Clone clones a dumpling config. | |||
func (conf *Config) Clone() *Config { |
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.
some reference type members (like TableFilter and Tables) may get not copied, is this expected?
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.
I just want to use this function for tests. I will unexport this function and add it to the test code.
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: c625e94
|
Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created: #313. |
Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created: #314. |
In response to a cherrypick label: new pull request created: #315. |
… improve its stability (pingcap#305)
… improve its stability (pingcap#305)
… improve its stability (pingcap#305)
… improve its stability (pingcap#305)
… improve its stability (pingcap/dumpling#305)
What problem does this PR solve?
fix #298 and fix #296 and fix #310
What is changed and how it works?
Try to dump the whole table directly if we meet some errors when we try to split tables into several chunks. cfb258a
Reduce accessing
SelectedField
andSelectedLen
info from database d3ba1e8Remove the usage of
information_schema
1a0d9c4, 7f7cf58, b333bea, 088b5ba, 7dac228, bdb3c26Fix the bug that dumpling
finishedRows
is not accurate if we retry in chunks. ff398a4Fix the bug that dumpling dumps unlocked tables for consistency lock 7f7cf58
Fix the bug of
no-schema
argument's wrong output 09d257dCheck List
Tests
Side effects
Related changes
Release note