提交 e585fa1a 编写于 作者: G godyangfight 提交者: LINGuanRen

delete obsolete backup backup, return internal error 4016

上级 eafb5b5f
......@@ -2962,6 +2962,7 @@ int ObBackupDataClean::get_sys_tenant_prepare_clog_round_and_piece(const share::
const ObSimplePieceInfo &simple_piece_info = log_archive_round.piece_infos_.at(j);
if (simple_piece_info.max_ts_ > clog_gc_snapshot ||
ObBackupPieceStatus::BACKUP_PIECE_FROZEN != simple_piece_info.status_ ||
ObBackupFileStatus::BACKUP_FILE_COPYING == simple_piece_info.file_status_ ||
simple_piece_info.copies_num_ < backup_copies) {
is_delete_inorder = false;
} else if (ObBackupFileStatus::BACKUP_FILE_DELETED == simple_piece_info.file_status_) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册