-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
brie: support batch ddl for sql restore #49089
brie: support batch ddl for sql restore #49089
Conversation
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
Hi @Leavrth. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #49089 +/- ##
================================================
+ Coverage 70.9219% 72.7465% +1.8245%
================================================
Files 1368 1432 +64
Lines 396364 416743 +20379
================================================
+ Hits 281109 303166 +22057
+ Misses 95564 93896 -1668
+ Partials 19691 19681 -10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
pkg/executor/brie.go
Outdated
@@ -101,7 +100,7 @@ func (p *brieTaskProgress) Close() { | |||
p.lock.Lock() | |||
current := atomic.LoadInt64(&p.current) | |||
if current < p.total { | |||
p.cmd = fmt.Sprintf("%s Cacneled", p.cmd) | |||
p.cmd = fmt.Sprintf("%s Cancelled", p.cmd) |
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.
Cancelled
or Canceled
?
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 I recall right TiKV prefers AmE (canceled). For me I think both will be OK.
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
/test pull-br-integration-test |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-br-integration-test |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
/test pull-br-integration-test |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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
pkg/executor/brie.go
Outdated
@@ -101,7 +100,7 @@ func (p *brieTaskProgress) Close() { | |||
p.lock.Lock() | |||
current := atomic.LoadInt64(&p.current) | |||
if current < p.total { | |||
p.cmd = fmt.Sprintf("%s Cacneled", p.cmd) | |||
p.cmd = fmt.Sprintf("%s Cancelled", p.cmd) |
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 I recall right TiKV prefers AmE (canceled). For me I think both will be OK.
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
/test pull-br-integration-test |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold |
Signed-off-by: Leavrth <jianjun.liao@outlook.com>
/test pull-br-integration-test |
@Leavrth: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/unhold |
/ok-to-test |
/retest |
@Leavrth: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
What problem does this PR solve?
Issue Number: close #48301
Problem Summary:
brie restore need batch ddl to accelerate the table creation。
What changed and how does it work?
implement CreateTables function for brieGlue
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.