yiguolei commented on code in PR #33483:
URL: https://github.com/apache/doris/pull/33483#discussion_r1563695856
##########
fe/fe-core/src/main/java/org/apache/doris/resource/workloadschedpolicy/WorkloadSchedPolicy.java:
##########
@@ -162,12 +167,15 @@ public WorkloadActionType getFirstActionType() {
return retType;
}
- public void parseAndSetProperties(Map<String, String> properties) throws
UserException {
+ public void parseAndSetProperties(Map<String, String> properties) {
String enabledStr = properties.get(ENABLED);
this.enabled = enabledStr == null ? true :
Boolean.parseBoolean(enabledStr);
String priorityStr = properties.get(PRIORITY);
this.priority = priorityStr == null ? 0 :
Integer.parseInt(priorityStr);
+
+ String workloadGroupIdStr = properties.get(WORKLOAD_GROUP);
Review Comment:
这里没看懂啊,是咋把用户传递的workload group name 改成workload group id的
--
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]