-
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
workloadrepo: make sure WORKLOAD_SCHEMA is ignored by BR #58878
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #58878 +/- ##
================================================
+ Coverage 72.9819% 75.6299% +2.6480%
================================================
Files 1693 1742 +49
Lines 467972 485362 +17390
================================================
+ Hits 341535 367079 +25544
+ Misses 105410 95904 -9506
- Partials 21027 22379 +1352
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/test all |
pkg/util/workloadrepo/const.go
Outdated
WorkloadSchema = "WORKLOAD_SCHEMA" | ||
// WorkloadSchemaL is the name of database in lower case. | ||
WorkloadSchemaL = "workload_schema" |
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.
We could just make WorkloadSchema lowercase and change the table names to match.
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 moved WorkloadSchemaL
to parser/mysql/const.go
and kept this file unchanged.
/retest |
111feec
to
cba1a39
Compare
there is still one failed test
|
cba1a39
to
a786499
Compare
/retest |
@xhebox Thanks, I was working on this failed test...it turns out to be a trap of the check_contains script. |
a786499
to
4cd1bef
Compare
4cd1bef
to
80e39ea
Compare
@wddevries: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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-sigs/prow 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.
BR part LGTM
@yudongusa: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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-sigs/prow 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.
LGTM
[LGTM Timeline notifier]Timeline:
|
@bb7133 please approval the |
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3pointer, bb7133, Benjamin2037, wddevries, xhebox, yudongusa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
@bb7133: 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-sigs/prow repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: close #58768
Problem Summary:
Add
WORKLOAD_SCHEMA
schema to the ignore list of BR when performing the restore.BTW, For the 'full backup' process, BR tries to backup everything so there's no mechanism to skip a specific table/schema.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.