morrySnow commented on code in PR #64856:
URL: https://github.com/apache/doris/pull/64856#discussion_r3473644035


##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadschedpolicy/WorkloadAction.java:
##########
@@ -30,8 +30,6 @@ static WorkloadAction createWorkloadAction(WorkloadActionMeta 
workloadActionMeta
             throws UserException {
         if (WorkloadActionType.CANCEL_QUERY.equals(workloadActionMeta.action)) 
{
             return WorkloadActionCancelQuery.createWorkloadAction();
-        } else if 
(WorkloadActionType.SET_SESSION_VARIABLE.equals(workloadActionMeta.action)) {
-            return 
WorkloadActionSetSessionVar.createWorkloadAction(workloadActionMeta.actionArgs);
         }

Review Comment:
   这里会有升降级问题。保留这个type和else if 分支。或者在 
org.apache.doris.resource.workloadschedpolicy.WorkloadSchedPolicy#gsonPostProcess
 里面忽略 这个type的创建。同时清除对应的元数据



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to