This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 2254b35139f [enhancement](workloadgroup) print path info in workload
group modification operation (#59873)
2254b35139f is described below
commit 2254b35139fa216bb34fa826c01d58f807f931a0
Author: yiguolei <[email protected]>
AuthorDate: Sat Jan 17 11:23:58 2026 +0800
[enhancement](workloadgroup) print path info in workload group modification
operation (#59873)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
---
be/src/agent/cgroup_cpu_ctl.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/be/src/agent/cgroup_cpu_ctl.cpp b/be/src/agent/cgroup_cpu_ctl.cpp
index 6404bf3fe55..ac1c533a5a2 100644
--- a/be/src/agent/cgroup_cpu_ctl.cpp
+++ b/be/src/agent/cgroup_cpu_ctl.cpp
@@ -234,10 +234,11 @@ Status CgroupCpuCtl::write_cg_sys_file(std::string
file_path, std::string value,
auto str = fmt::format("{}\n", value);
ssize_t ret = write(fd, str.c_str(), str.size());
if (ret == -1) {
- LOG(ERROR) << msg << " write sys file failed";
- return Status::InternalError<false>("{} write sys file failed", msg);
+ LOG(ERROR) << msg << " write sys file failed, file_path=" << file_path;
+ return Status::InternalError<false>("{} write sys file failed,
file_path={}", msg,
+ file_path);
}
- LOG(INFO) << msg << " success";
+ LOG(INFO) << msg << " success, file path: " << file_path;
return Status::OK();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]