Skip to content

Commit

Permalink
revert rg name req code
Browse files Browse the repository at this point in the history
Signed-off-by: guo-shaoge <shaoge1994@163.com>
  • Loading branch information
guo-shaoge committed Sep 19, 2023
1 parent 0805306 commit 5c1baca
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion executor/internal/mpp/local_mpp_coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ func (c *localMppCoordinator) appendMPPDispatchReq(pf *plannercore.Fragment) err
CoordinatorAddress: c.coordinatorAddr,
ReportExecutionSummary: c.reportExecutionInfo,
State: kv.MppTaskReady,
ResourceGroupName: c.sessionCtx.GetSessionVars().ResourceGroupName,
}
c.reqMap[req.ID] = &mppRequestReport{mppReq: req, receivedReport: false, errMsg: "", executionSummaries: nil}
c.mppReqs = append(c.mppReqs, req)
Expand Down
1 change: 0 additions & 1 deletion kv/mpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ type MPPDispatchRequest struct {
CoordinatorAddress string
ReportExecutionSummary bool
State MppTaskStates
ResourceGroupName string
}

// CancelMPPTasksParam represents parameter for MPPClient's CancelMPPTasks
Expand Down
3 changes: 0 additions & 3 deletions store/copr/batch_coprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1276,9 +1276,6 @@ func (b *batchCopIterator) handleTaskOnce(ctx context.Context, bo *backoff.Backo
RecordTimeStat: true,
RecordScanStat: true,
TaskId: b.req.TaskID,
ResourceControlContext: &kvrpcpb.ResourceControlContext{
ResourceGroupName: b.req.ResourceGroupName,
},
})
if b.req.ResourceGroupTagger != nil {
b.req.ResourceGroupTagger(req)
Expand Down
1 change: 0 additions & 1 deletion store/copr/mpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ func (c *MPPClient) DispatchMPPTask(param kv.DispatchMPPTaskParam) (resp *mpp.Di
CoordinatorAddress: req.CoordinatorAddress,
ReportExecutionSummary: req.ReportExecutionSummary,
MppVersion: req.MppVersion.ToInt64(),
ResourceGroupName: req.ResourceGroupName,
}

mppReq := &mpp.DispatchTaskRequest{
Expand Down

0 comments on commit 5c1baca

Please sign in to comment.