fix backup defend issue

This commit is contained in:
obdev
2022-10-30 14:05:08 +00:00
committed by wangzelin.wzl
parent c70b8a05df
commit ae138ca6d8
2 changed files with 3 additions and 3 deletions

View File

@ -252,7 +252,7 @@ int ObBackupUtils::check_tablet_minor_sstable_validity_(const storage::ObTabletH
LOG_WARN("table ptr not correct", K(ret), KPC(last_table_ptr));
} else {
const ObITable::TableKey &table_key = last_table_ptr->get_key();
if (table_key.get_end_log_ts() != clog_checkpoint_ts) {
if (table_key.get_end_log_ts() < clog_checkpoint_ts) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("tablet meta is not valid", K(ret), K(table_key), K(clog_checkpoint_ts));
}