cambyzju commented on code in PR #31398: URL: https://github.com/apache/doris/pull/31398#discussion_r1502088519
########## be/src/agent/cgroup_cpu_ctl.cpp: ########## @@ -91,6 +91,9 @@ Status CgroupCpuCtl::write_cg_sys_file(std::string file_path, int value, std::st return Status::InternalError<false>("{} write sys file failed", msg); Review Comment: also need close fd before return here? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org