From 1053b1544602f9e5acb428c77e15dab4d8dc392f Mon Sep 17 00:00:00 2001 From: hiddenbomb Date: Wed, 2 Aug 2023 03:18:19 +0000 Subject: [PATCH] set mem attr for migration tablet param --- src/storage/tablet/ob_tablet_meta.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/storage/tablet/ob_tablet_meta.cpp b/src/storage/tablet/ob_tablet_meta.cpp index abbe79a3b5..786ed37b4a 100644 --- a/src/storage/tablet/ob_tablet_meta.cpp +++ b/src/storage/tablet/ob_tablet_meta.cpp @@ -1285,6 +1285,9 @@ int ObMigrationTabletParam::assign(const ObMigrationTabletParam ¶m) ret = OB_INVALID_ARGUMENT; LOG_WARN("migration tablet param is invalid", K(ret), K(param)); } else { + // allocator + allocator_.set_attr(ObMemAttr(MTL_ID(), "MigTabletParam", ObCtxIds::DEFAULT_CTX_ID)); + is_empty_shell_ = param.is_empty_shell_; ls_id_ = param.ls_id_; tablet_id_ = param.tablet_id_;