[CP] Auto Refresh/Broadcast Tablet Location

This commit is contained in:
tino247
2024-02-07 03:10:35 +00:00
committed by ob-robot
parent bd399fbacd
commit ed95beb4e1
35 changed files with 2746 additions and 65 deletions

View File

@ -192,8 +192,9 @@ TEST_F(TestTabletAutoincMgr, test_lob_tablet_autoinc_location_cache)
ASSERT_EQ(OB_SUCCESS, task.result_);
// restore old tablet ls cache
const bool update_only = false;
for (int64_t i = 0; i < old_tablet_ls_cache.count(); i++) {
ASSERT_EQ(OB_SUCCESS, tablet_ls_service->update_cache_(old_tablet_ls_cache.at(i)));
ASSERT_EQ(OB_SUCCESS, tablet_ls_service->update_cache(old_tablet_ls_cache.at(i), update_only));
}
// remove source ls and clear src ls cache