fix scn legacy issues
This commit is contained in:
@ -1603,13 +1603,13 @@ int ObPartitionIncrementalRangeSpliter::ObIncrementalIterator::prepare_store_ctx
|
||||
int ret = OB_SUCCESS;
|
||||
auto ls_id = merge_ctx_.param_.ls_id_;
|
||||
auto &snapshot = merge_ctx_.sstable_version_range_.snapshot_version_;
|
||||
palf::SCN tmp_scn;
|
||||
if (OB_FAIL(tmp_scn.convert_for_lsn_allocator(snapshot))) {
|
||||
STORAGE_LOG(WARN, "convert for fail", K(ret), K(ls_id), K(snapshot));
|
||||
palf::SCN scn;
|
||||
if (OB_FAIL(scn.convert_for_tx(snapshot))) {
|
||||
STORAGE_LOG(WARN, "convert for tx fail", K(ret), K(ls_id), K(snapshot));
|
||||
} else if (OB_FAIL(store_ctx_.init_for_read(ls_id,
|
||||
INT64_MAX,
|
||||
-1,
|
||||
tmp_scn))) {
|
||||
scn))) {
|
||||
STORAGE_LOG(WARN, "init store ctx fail", K(ret), K(ls_id), K(snapshot));
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user