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 12:27:23 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #1702: Limit the disk usage to avoid running out of disk capacity

morningman 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_r317579278
 
 

 ##########
 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:
   No, `_capacity_bytes` is user specified disk capacity, but it currently not used.
   `_disk_capacity_bytes` is the capacity of the disk

----------------------------------------------------------------
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