-
Notifications
You must be signed in to change notification settings - Fork 283
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
lightning(dm): add config value to use local backend #7448
Conversation
[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. |
Signed-off-by: lance6716 <lance6716@gmail.com>
Signed-off-by: lance6716 <lance6716@gmail.com>
/run-dm-integration-test |
/check-issue-triage-complete |
Signed-off-by: lance6716 <lance6716@gmail.com>
/run-dm-integration-test |
/run-dm-integration-test |
Signed-off-by: lance6716 <lance6716@gmail.com>
/run-dm-integration-test |
Signed-off-by: lance6716 <lance6716@gmail.com>
Signed-off-by: lance6716 <lance6716@gmail.com>
/cc @GMHDBJD @lichunzhu |
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.
Rest LGTM
# test drop table if exists | ||
run_sql_source1 "drop table if exists \`lightning_mode\`.\`tb1\`;" | ||
run_sql_source1 "drop table if exists \`lightning_mode\`.\`tb1\`;" | ||
run_sql_source2 "drop table if exists \`lightning_mode\`.\`tb2\`;" | ||
run_sql_source2 "drop table if exists \`lightning_mode\`.\`tb2\`;" | ||
check_log_not_contains $WORK_DIR/worker1/log/dm-worker.log "Error .* Table .* doesn't exist" | ||
check_log_not_contains $WORK_DIR/worker2/log/dm-worker.log "Error .* Table .* doesn't exist" |
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.
Why do we delete these checks?
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.
seems these tests are duplicated with all_mode, I guess the original developer copied from there. Many tests are not needed to repeat again
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
ptal @GMHDBJD @buchuitoudegou |
Signed-off-by: lance6716 <lance6716@gmail.com>
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
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 8a3b8c4
|
/run-dm-integration-test |
What problem does this PR solve?
Issue Number: ref #3510
What is changed and how it works?
loaders.{config-name}.import-mode
can set "logical" or "physical", to use tidb or local backend of lightning respectivelyCheck List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note