[scn] rename log_ts to scn

This commit is contained in:
obdev
2022-11-28 02:29:00 +00:00
committed by ob-robot
parent 89c7502360
commit 59db61e110
316 changed files with 219033 additions and 6033 deletions

View File

@ -82,8 +82,8 @@ bool ObArchivePiece::is_valid() const
int ObArchivePiece::get_piece_lower_limit(SCN &scn)
{
int ret = OB_SUCCESS;
int64_t ts = (piece_id_ - base_piece_id_) * interval_us_ * 1000L + genesis_scn_.get_val_for_lsn_allocator();
if (OB_FAIL(scn.convert_for_lsn_allocator(ts))) {
int64_t ts = (piece_id_ - base_piece_id_) * interval_us_ + genesis_scn_.convert_to_ts();
if (OB_FAIL(scn.convert_from_ts(ts))) {
LOG_WARN("failed to convert_for_lsn_allocator", KPC(this), K(ret), K(ts));
}
return ret;