yiguolei commented on code in PR #54243:
URL: https://github.com/apache/doris/pull/54243#discussion_r2254010586
##########
be/src/runtime/workload_group/workload_group.h:
##########
@@ -243,29 +231,31 @@ class WorkloadGroup : public
std::enable_shared_from_this<WorkloadGroup> {
uint64_t _id;
std::string _name;
int64_t _version;
- int64_t _memory_limit; // bytes
+ std::atomic<int> _min_cpu_percent = 0;
+ std::atomic<int> _max_cpu_percent = 100;
+ bool _enable_memory_overcommit = true;
Review Comment:
Currently it is useful, we only use it to skip memory check....
--
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]