You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2024/02/27 14:24:15 UTC

(doris) branch branch-2.0 updated: Reset report_workload_runtime_status to optional (#31492)

This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new b39ef76cf4f Reset report_workload_runtime_status to optional (#31492)
b39ef76cf4f is described below

commit b39ef76cf4fe2f9fae3799d98ac58b83358f5238
Author: wangbo <wa...@apache.org>
AuthorDate: Tue Feb 27 22:24:08 2024 +0800

    Reset report_workload_runtime_status to optional (#31492)
---
 be/src/runtime/runtime_query_statistics_mgr.cpp | 2 +-
 gensrc/thrift/FrontendService.thrift            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/runtime/runtime_query_statistics_mgr.cpp b/be/src/runtime/runtime_query_statistics_mgr.cpp
index f9ada4218df..5c40ea61763 100644
--- a/be/src/runtime/runtime_query_statistics_mgr.cpp
+++ b/be/src/runtime/runtime_query_statistics_mgr.cpp
@@ -95,7 +95,7 @@ void RuntimeQueryStatiticsMgr::report_runtime_query_statistics() {
         report_runtime_params.__set_query_statistics_map(qs_map);
 
         TReportExecStatusParams params;
-        params.report_workload_runtime_status = report_runtime_params;
+        params.__set_report_workload_runtime_status(report_runtime_params);
 
         TReportExecStatusResult res;
         Status rpc_status;
diff --git a/gensrc/thrift/FrontendService.thrift b/gensrc/thrift/FrontendService.thrift
index 699ef3a85cd..fa594221b49 100644
--- a/gensrc/thrift/FrontendService.thrift
+++ b/gensrc/thrift/FrontendService.thrift
@@ -473,7 +473,7 @@ struct TReportExecStatusParams {
 
   24: optional TQueryStatistics query_statistics
 
-  25: TReportWorkloadRuntimeStatusParams report_workload_runtime_status
+  25: optional TReportWorkloadRuntimeStatusParams report_workload_runtime_status
 }
 
 struct TFeResult {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org