[SCN] adjust ObBatchCreateTabletArg

This commit is contained in:
obdev
2022-11-28 02:40:26 +00:00
committed by ob-robot
parent 4c49f6e7c5
commit c538314fd7
62 changed files with 391 additions and 1828 deletions

View File

@ -340,10 +340,10 @@ int ObBatchUpdateTableStoreParam::assign(
return ret;
}
int ObBatchUpdateTableStoreParam::get_max_clog_checkpoint_ts(int64_t &clog_checkpoint_ts) const
int ObBatchUpdateTableStoreParam::get_max_clog_checkpoint_scn(palf::SCN &clog_checkpoint_scn) const
{
int ret = OB_SUCCESS;
clog_checkpoint_ts = 0;
clog_checkpoint_scn.set_min();
if (!is_valid()) {
ret = OB_INVALID_ARGUMENT;
LOG_WARN("batch update table store param is invalid", K(ret), KPC(this));
@ -356,7 +356,7 @@ int ObBatchUpdateTableStoreParam::get_max_clog_checkpoint_ts(int64_t &clog_check
} else if (!table->is_multi_version_minor_sstable()) {
//do nothing
} else {
clog_checkpoint_ts = std::max(clog_checkpoint_ts, table->get_end_scn().get_val_for_tx());
clog_checkpoint_scn = std::max(clog_checkpoint_scn, table->get_end_scn());
}
}
}