[scn] rename log_ts to scn
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user