BUGFIX: make sure clean the ls if created failed

This commit is contained in:
obdev
2023-12-22 09:14:52 +00:00
committed by ob-robot
parent 22e5fbfb00
commit bfe2b080dd
36 changed files with 547 additions and 477 deletions

View File

@ -198,7 +198,7 @@ TEST_F(TestTabletAutoincMgr, test_lob_tablet_autoinc_location_cache)
}
// remove source ls and clear src ls cache
ASSERT_EQ(OB_SUCCESS, MTL(ObLSService*)->remove_ls(src_ls_id, false));
ASSERT_EQ(OB_SUCCESS, MTL(ObLSService*)->remove_ls(src_ls_id));
ASSERT_EQ(OB_SUCCESS, ls_location_service->erase_location_(GCONF.cluster_id, g_tenant_id, src_ls_id));
// insert lob