From 822e2f2a7f5c9c814a21cf534e43a8a93eddf2bf Mon Sep 17 00:00:00 2001 From: maosy <630014370@qq.com> Date: Wed, 28 Jun 2023 01:42:11 +0000 Subject: [PATCH] balance group memory use owner tenant --- src/rootserver/balance/ob_ls_balance_group_info.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rootserver/balance/ob_ls_balance_group_info.h b/src/rootserver/balance/ob_ls_balance_group_info.h index 70b9fc8c3c..9cc34a9970 100644 --- a/src/rootserver/balance/ob_ls_balance_group_info.h +++ b/src/rootserver/balance/ob_ls_balance_group_info.h @@ -29,7 +29,10 @@ namespace rootserver class ObLSBalanceGroupInfo final { public: - ObLSBalanceGroupInfo() : inited_(false), ls_id_(), alloc_(), bg_map_(), orig_part_group_cnt_map_() {} + ObLSBalanceGroupInfo() : inited_(false), ls_id_(), + alloc_("LSBGInfo", common::OB_MALLOC_NORMAL_BLOCK_SIZE, + MTL_ID()), + bg_map_(), orig_part_group_cnt_map_() {} ~ObLSBalanceGroupInfo() { destroy(); } int init(const share::ObLSID &ls_id);