Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions be/src/olap/tablet_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,8 @@ Status TabletManager::start_trash_sweep() {
}
_shutdown_tablets.clear();
}
MonotonicStopWatch timer;
timer.start();
std::lock_guard<std::shared_mutex> wrlock(_shutdown_deleting_tablets_lock);
auto it = _shutdown_deleting_tablets.begin();
while (it != _shutdown_deleting_tablets.end()) {
Expand Down Expand Up @@ -1164,6 +1166,8 @@ Status TabletManager::start_trash_sweep() {
break;
}
}
LOG(INFO) << "Finshed clean " << clean_num << " items in "
<< timer.elapsed_time() / 1000 / 100 << "ms";
// >= 200 means there may be more tablets need to be handled
// So continue
} while (clean_num >= 200);
Expand Down