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

Reply via email to