stdpain commented on a change in pull request #6196:
URL: https://github.com/apache/incubator-doris/pull/6196#discussion_r667681648
##########
File path: be/src/olap/storage_engine.cpp
##########
@@ -357,6 +357,12 @@ OLAPStatus
StorageEngine::get_all_data_dir_info(vector<DataDirInfo>* data_dir_in
size_t tablet_count = 0;
_tablet_manager->update_root_path_info(&path_map, &tablet_count);
+ // update trash used capacity
+ for (auto& path : path_map) {
+ std::filesystem::path trash_path(path.first + TRASH_PREFIX);
Review comment:
I recommend not using the right value here to construct
std::filesystem::path directly because it might trigger one of gcc 10.1.0
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]