SWJTU-ZhangLei commented on code in PR #51573:
URL: https://github.com/apache/doris/pull/51573#discussion_r2137029675
##########
be/src/cloud/cloud_tablet_mgr.cpp:
##########
@@ -265,6 +265,12 @@ void CloudTabletMgr::vacuum_stale_rowsets(const
CountDownLatch& stop_latch) {
.tag("num_vacuumed", num_vacuumed)
.tag("num_tablets", tablets_to_vacuum.size());
+ {
+ LOG_INFO("begin to remove unused rowsets");
+ _tablet_map->traverse([](auto&& t) { t->remove_unused_rowsets(); });
+ LOG_INFO("finish remove unused rowsets");
Review Comment:
> logout num of rowsets removed.
if (removed_rowsets_num > 0 || removed_delete_bitmap_num > 0) {
LOG(INFO) << "tablet_id=" << tablet_id()
<< ", unused_rowset size=" << _unused_rowsets.size()
<< ", unused_delete_bitmap size=" <<
_unused_delete_bitmap.size()
<< ", removed_rowsets_num=" << removed_rowsets_num
<< ", removed_delete_bitmap_num=" <<
removed_delete_bitmap_num
<< ", cost(us)=" << watch.get_elapse_time_us();
}
--
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]