wangbo commented on code in PR #31398:
URL: https://github.com/apache/doris/pull/31398#discussion_r1502101415


##########
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:
   good question.Refer  google result or some file desc open code in doris, no 
need close when open failed.



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

Reply via email to