[CP] Make ObTabletTableIterator and ObTableStoreIterator deep copy safe

This commit is contained in:
JiahuaChen
2023-11-17 14:44:52 +00:00
committed by ob-robot
parent d4657d7e08
commit 7f360fc2f5
8 changed files with 76 additions and 34 deletions

View File

@ -1875,7 +1875,9 @@ int ObPartitionIncrementalRangeSpliter::ObIncrementalIterator::prepare_get_table
}
}
if (OB_SUCC(ret)) {
*get_tbl_param_.tablet_iter_.table_iter() = tbls_iter_;
if (OB_FAIL(get_tbl_param_.tablet_iter_.table_iter()->assign(tbls_iter_))) {
STORAGE_LOG(WARN, "Failed to assign tablet iterator", KR(ret));
}
}
return ret;
}