importinto: use correct session to submit/update/query task in DXF service#62023
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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #62023 +/- ##
================================================
+ Coverage 72.9309% 73.4381% +0.5072%
================================================
Files 1736 1736
Lines 482403 483905 +1502
================================================
+ Hits 351821 355371 +3550
+ Misses 109000 106974 -2026
+ Partials 21582 21560 -22
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
| return storage.GetTaskManager() | ||
| } | ||
|
|
||
| //// GetTaskMgrToAccessDXFService returns the task manager to access DXF service. |
There was a problem hiding this comment.
will uncomment this part when we are ready to switch to DXF service, encode and checksum are not ready now
There was a problem hiding this comment.
If there is a plan to abandon the DXF service in user keyspace, I think we don't need to load the system DXF service every time? Simply initialize the only GetTaskManager to the DXF service one is enough.
There was a problem hiding this comment.
yes, we can do it later to avoid block the e2e test, right now, import-into only runs across keyspace
|
/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: tangenta, wjhuang2016 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 |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: ref #61702
Problem Summary:
What changed and how does it work?
Note: we have to uncomment
GetTaskMgrToAccessDXFServiceto work in DXF service, as it's not ready now, such as the encode and checksum part, we still keep the old behaviorCheck List
Tests
uncomment
GetTaskMgrToAccessDXFServiceto submit task to DXF service, then start 2 TIDB, oneSYSTEMks, oneks1ksrun import into on session of
ks1, we can see the DXF task table is emptyand from the
SYSTEMks, we can see the DXF task table contains themshow state of a running import job and cancel the job in another session on
ks1Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.