Change the memory of ObEncodingRowBufHolder to hang on its own tenant which used to hang on 500.

This commit is contained in:
obdev
2023-04-04 01:41:16 +00:00
committed by ob-robot
parent 1fa46f121d
commit 8b00a6d6be
6 changed files with 31 additions and 8 deletions

View File

@ -205,7 +205,10 @@ public:
virtual void SetUp();
virtual void TearDown() {}
TestRawDecoder() {}
TestRawDecoder():tenant_ctx_(OB_SERVER_TENANT_ID)
{
share::ObTenantEnv::set_tenant(&tenant_ctx_);
}
virtual ~TestRawDecoder() {}
void setup_obj(ObObj& obj, int64_t column_id, int64_t seed);
@ -224,6 +227,7 @@ protected:
ObTableReadInfo read_info_;
int64_t full_column_cnt_;
ObArenaAllocator allocator_;
share::ObTenantBase tenant_ctx_;
};
void TestRawDecoder::SetUp()