-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: Add backfill job related tables and operations #38978
Conversation
[REVIEW NOTIFICATION] This pull request has not been approved. 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. |
a1539e4
to
bed74c1
Compare
) | ||
|
||
// enableDistReorg means whether to enable dist reorg. The default is enable. | ||
// TODO: control the behavior | ||
var enableDistReorg = atomicutil.NewBool(false) |
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 have feature tag in the sessionctx/variable/featuretag
. We can test feature when it enables and disables by controlling the feature tag. I think it may be useful for you.
} | ||
|
||
// AbbrStr returns the BackfillJob's info without the Mate info. | ||
func (bj *BackfillJob) AbbrStr() 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.
directly name String
or Str
?
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.
Since this function only shows some ID related info, we don't use String
here (and we're not sure if we need this function later).
) | ||
|
||
// enableDistReorg means whether to enable dist reorg. The default is enable. | ||
// TODO: control the behavior | ||
var enableDistReorg = atomicutil.NewBool(false) |
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.
The default is enable, I think this should be ture
Move it to master: #39616 |
What problem does this PR solve?
Issue Number: close #37122
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.