yiguolei commented on code in PR #22520:
URL: https://github.com/apache/doris/pull/22520#discussion_r1284635053
##########
be/src/common/config.cpp:
##########
@@ -1401,7 +1401,7 @@ Status persist_config(const std::string& field, const
std::string& value) {
// lock to make sure only one thread can modify the be_custom.conf
std::lock_guard<std::mutex> l(custom_conf_lock);
- static const std::string conffile = std::string(getenv("DORIS_HOME")) +
"/conf/be_custom.conf";
+ static const std::string conffile = config::custom_config_dir +
"/be_custom.conf";
Review Comment:
if user does not set config::custom_config_dir, where to save the
be_custom.conf??
--
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]