dataroaring commented on code in PR #29818: URL: https://github.com/apache/doris/pull/29818#discussion_r1450059347
########## be/src/olap/data_dir.cpp: ########## @@ -891,6 +891,10 @@ void DataDir::update_remote_data_size(int64_t size) { disks_remote_used_capacity->set_value(size); } +size_t DataDir::disk_available() const { + return _available_bytes; +} Review Comment: available_bytes() is a better name. -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org