From fdef86a605509a2a14cd1d8ae5589ea267e248f3 Mon Sep 17 00:00:00 2001 From: jg0 Date: Thu, 23 Sep 2021 23:24:02 +0800 Subject: [PATCH] fix tenant_weak_read thread leak --- src/storage/transaction/ob_tenant_weak_read_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/transaction/ob_tenant_weak_read_service.cpp b/src/storage/transaction/ob_tenant_weak_read_service.cpp index 0eaf8b8ac6..b1c2960dd6 100644 --- a/src/storage/transaction/ob_tenant_weak_read_service.cpp +++ b/src/storage/transaction/ob_tenant_weak_read_service.cpp @@ -118,6 +118,7 @@ void ObTenantWeakReadService::destroy() TG_STOP(tg_id_); TG_WAIT(tg_id_); + TG_DESTROY(tg_id_); cluster_service_.destroy(); -- GitLab