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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to