This is an automated email from the ASF dual-hosted git repository.
mrhhsg pushed a commit to branch spill_and_reserve
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/spill_and_reserve by this push:
new 700f94dff79 fix FE compile error
700f94dff79 is described below
commit 700f94dff79a9137ac3814312086cef9b604c98e
Author: Jerry Hu <[email protected]>
AuthorDate: Thu Sep 19 09:49:25 2024 +0800
fix FE compile error
---
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 6 +++---
.../java/org/apache/doris/resource/workloadgroup/WorkloadGroup.java | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index 3d0e1d8e2f8..125cacd9353 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -787,9 +787,9 @@ public class SessionVariable implements Serializable,
Writable {
@VariableMgr.VarAttr(name = QUERY_SLOT_COUNT, needForward = true, checker
= "checkQuerySlotCount",
description = {
- "每个查询占用的slot的数量,workload group的query slot的总数等于设置的最大并发数",
- "Number of slots occupied by each query, the total number of query
slots "
- + "of the workload group equals the maximum number of concurrent
requests"})
+ "每个查询占用的slot的数量,workload group的query slot的总数等于设置的最大并发数",
+ "Number of slots occupied by each query, the total number of
query slots "
+ + "of the workload group equals the maximum number of
concurrent requests"})
public int wgQuerySlotCount = 1;
public void checkQuerySlotCount(String slotCnt) {
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroup.java
b/fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroup.java
index 108c48778fd..42929be609b 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroup.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/resource/workloadgroup/WorkloadGroup.java
@@ -620,7 +620,7 @@ public class WorkloadGroup implements Writable,
GsonPostProcessable {
if (!StringUtils.isEmpty(tagStr)) {
tWorkloadGroupInfo.setTag(tagStr);
}
-
+
String totalQuerySlotCountStr = properties.get(MAX_CONCURRENCY);
if (totalQuerySlotCountStr != null) {
tWorkloadGroupInfo.setTotalQuerySlotCount(Integer.parseInt(totalQuerySlotCountStr));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]