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


With regards,
Apache Git Services

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

Reply via email to