Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting properties for storage_root_path #2235

Merged
merged 17 commits into from
Nov 22, 2019
Prev Previous commit
Next Next commit
Revert "remove needless c'tor"
This reverts commit 5e38ab4.
  • Loading branch information
huangwei5 committed Nov 19, 2019
commit fba46eb7d72857f4c1ea7846bf79a2ffaa7f4449
2 changes: 2 additions & 0 deletions be/src/olap/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ namespace doris {

struct StorePath {
StorePath() : capacity_bytes(-1), storage_medium(TStorageMedium::HDD){ }
StorePath(const std::string& path_, int64_t capacity_bytes_)
: path(path_), capacity_bytes(capacity_bytes_) { }
StorePath(const std::string& path_, int64_t capacity_bytes_, TStorageMedium::type storage_medium_)
: path(path_), capacity_bytes(capacity_bytes_), storage_medium(storage_medium_) { }
std::string path;
Expand Down