Skip to content

Commit

Permalink
[fix](cloud) enable_file_cache for cloud by default (#41502)
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Sep 30, 2024
1 parent d3f1571 commit 222c46c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1689,6 +1689,11 @@ bool init(const char* conf_file, bool fill_conf_map, bool must_exist, bool set_t
SET_FIELD(it.second, std::vector<std::string>, fill_conf_map, set_to_default);
}

if (config::is_cloud_mode()) {
auto st = config::set_config("enable_file_cache", "true", true);
LOG(INFO) << "set config enable_file_cache " << "true" << " " << st;
}

return true;
}

Expand Down

0 comments on commit 222c46c

Please sign in to comment.