[BUG.FIX] fix print error log when destroy tmp file mem block mgr

This commit is contained in:
Tyshawn
2023-10-19 10:39:37 +00:00
committed by ob-robot
parent a769eb4bda
commit 338df54b29

View File

@ -917,9 +917,11 @@ void ObTmpTenantMemBlockManager::destroy()
int ret = OB_SUCCESS;
ObTmpMacroBlock *tmp = NULL;
stopped_ = true;
if (OB_INVALID_INDEX != tg_id_) {
TG_STOP(tg_id_);
TG_WAIT(tg_id_);
TG_DESTROY(tg_id_);
}
const int64_t io_timeout_ms = GCONF._data_storage_io_timeout / 1000L;
ObSpLinkQueue::Link *node = NULL;
while (!wait_info_queue_.is_empty()) {