dataroaring commented on code in PR #34003:
URL: https://github.com/apache/doris/pull/34003#discussion_r1577104393


##########
be/src/olap/rowset/beta_rowset.cpp:
##########
@@ -124,6 +125,21 @@ Status BetaRowset::get_inverted_index_size(size_t* 
index_size) {
     return Status::OK();
 }
 
+void BetaRowset::clear_inverted_index_cache() {

Review Comment:
   remove() delets files too. When a tablet is moved to trash, the files are 
not deleted immediately. I let remove call clear_cache to reduce duplicated 
code.



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

Reply via email to