yiguolei commented on code in PR #53445:
URL: https://github.com/apache/doris/pull/53445#discussion_r2212615826


##########
be/src/runtime/workload_group/workload_group.cpp:
##########
@@ -428,14 +430,14 @@ WorkloadGroupInfo WorkloadGroupInfo::parse_topic_info(
     int read_bytes_per_second = -1;
     if (tworkload_group_info.__isset.read_bytes_per_second &&
         tworkload_group_info.read_bytes_per_second > 0) {
-        read_bytes_per_second = tworkload_group_info.read_bytes_per_second;
+        read_bytes_per_second = 
(int)tworkload_group_info.read_bytes_per_second;

Review Comment:
   这个值是int 应该不行。
   当前的磁盘吞吐,是可以达到几个GB/S的,尤其是假如我们命中了page cache,所以我们得是int64



-- 
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