use arena allocator for btree node

This commit is contained in:
simonjoylet
2023-02-06 15:59:56 +08:00
committed by ob-robot
parent 8f24b95a90
commit d4c5f954f7
3 changed files with 5 additions and 8 deletions

View File

@ -132,9 +132,6 @@ void TestBlockMetaTree::prepare_schema()
TEST_F(TestBlockMetaTree, random_keybtree)
{
ObBlockMetaTree meta_tree;
ObArenaAllocator arena;
const ObMemAttr mem_attr(TEST_TENANT_ID, "DDL_KV");
ASSERT_OK(meta_tree.fifo_allocator_.init(&arena, OB_MALLOC_MIDDLE_BLOCK_SIZE, mem_attr));
LOG_INFO("wenqu debug: check size",
"sizeof(BtreeNode)", sizeof(keybtree::BtreeNode<blocksstable::ObDatumRowkeyWrapper, const blocksstable::ObDataMacroBlockMeta *>),