Skip to content

Commit

Permalink
[fix](cloud) enable_file_cache for cloud by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Sep 30, 2024
1 parent e8fb88f commit 57fd4ea
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 @@ -1683,6 +1683,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 57fd4ea

Please sign in to comment.