You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/26 11:32:52 UTC
[GitHub] [incubator-doris] chaoyli commented on a change in pull request
#1702: Limit the disk usage to avoid running out of disk capacity
chaoyli commented on a change in pull request #1702: Limit the disk usage to avoid running out of disk capacity
URL: https://github.com/apache/incubator-doris/pull/1702#discussion_r317561189
##########
File path: be/src/olap/data_dir.cpp
##########
@@ -59,14 +59,14 @@ DataDir::DataDir(const std::string& path, int64_t capacity_bytes,
TabletManager* tablet_manager, TxnManager* txn_manager)
: _path(path),
_capacity_bytes(capacity_bytes),
+ _available_bytes(0),
+ _disk_capacity_bytes(0),
Review comment:
_capacity_bytes and _disk_capacity_bytes are redundant ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org