add defense & unittest for ls_reserved_snapshot

This commit is contained in:
yangqise7en
2024-08-06 11:57:11 +00:00
committed by ob-robot
parent 5f58f33d5d
commit f28a2d1d7b
5 changed files with 183 additions and 12 deletions

View File

@ -233,7 +233,6 @@ void TestCompactionPolicy::TearDownTestCase()
ret = MTL(ObLSService*)->remove_ls(ObLSID(TEST_LS_ID));
ASSERT_EQ(OB_SUCCESS, ret);
ObTenantMetaMemMgr *t3m = MTL(ObTenantMetaMemMgr*);
ASSERT_EQ(OB_SUCCESS, ret);
ObLSID ls_id = ObLSID(TEST_LS_ID);
ObTabletID tablet_id = ObTabletID(TEST_TABLET_ID);