[BUG.FIX] split tenant memory for TabletMap and TmpFileCache label

This commit is contained in:
Tyshawn
2023-06-15 10:18:29 +00:00
committed by ob-robot
parent cf36ee8bbf
commit 5276bcaea0
5 changed files with 10 additions and 15 deletions

View File

@ -72,8 +72,8 @@ TestMetaPointerMap::TestMetaPointerMap()
void TestMetaPointerMap::SetUp()
{
int ret = tablet_map_.init(1000L, OB_SERVER_TENANT_ID,
"TabletMap", 15 * 1024L * 1024L * 1024L, 8 * 1024L * 1024L,
lib::ObMemAttr attr(OB_SERVER_TENANT_ID, "TabletMap");
int ret = tablet_map_.init(1000L, attr, 15 * 1024L * 1024L * 1024L, 8 * 1024L * 1024L,
common::OB_MALLOC_NORMAL_BLOCK_SIZE);
ASSERT_EQ(common::OB_SUCCESS, ret);