mdl/sessionmanager: some refactor of MDL loop and move sessionmanager from util to session pkg#62671
Conversation
|
Hi @D3Hunter. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions 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. |
| logutil.BgLogger().Info("old running transaction block DDL", zap.Int64("table ID", tblID.(int64)), zap.Int64("jobID", jobID), zap.Uint64("connection ID", sv.ConnectionID), zap.Duration("elapsed time", elapsedTime)) | ||
| } else { | ||
| logutil.BgLogger().Debug("old running transaction block DDL", zap.Int64("table ID", tblID.(int64)), zap.Int64("jobID", jobID), zap.Uint64("connection ID", sv.ConnectionID), zap.Duration("elapsed time", elapsedTime)) |
There was a problem hiding this comment.
those 2 are the same except the log level
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #62671 +/- ##
================================================
+ Coverage 72.8718% 74.9250% +2.0531%
================================================
Files 1769 1816 +47
Lines 486067 494960 +8893
================================================
+ Hits 354206 370849 +16643
+ Misses 110207 101029 -9178
- Partials 21654 23082 +1428
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
|
||
| // JobMDL is a DDL job's MDL info. | ||
| type JobMDL struct { | ||
| // the version we expect current instance have loaded |
There was a problem hiding this comment.
Is it better to comment as
| // the version we expect current instance have loaded | |
| // the version of the this job |
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| package mdldef |
There was a problem hiding this comment.
So this package only store one structJobMDL? Will we move the code related to mdl into this package later?
There was a problem hiding this comment.
if we put in issyncer, there will be import cycle, so that's the only reason it have a separate pkg
i will write a comment about it.
|
/retest |
|
@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: GMHDBJD, hawkingrei, joechenrh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
/retest |
|
/retest |
|
@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
/retest |
|
@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
/retest |
|
@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
@D3Hunter: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
… from util to session pkg (pingcap#62671) ref pingcap#61702
What problem does this PR solve?
Issue Number: ref #61702
Problem Summary:
What changed and how does it work?
as title
also abstract
job2verandjob2idsintomdldef.JobMDLCheck List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.