remove remote logical minor sstable

This commit is contained in:
godyangfight
2024-02-07 21:57:57 +00:00
committed by ob-robot
parent 852a7b924d
commit c022786023
14 changed files with 68 additions and 475 deletions

View File

@ -443,7 +443,6 @@ ObBatchUpdateTableStoreParam::ObBatchUpdateTableStoreParam()
errsim_point_info_(),
#endif
rebuild_seq_(OB_INVALID_VERSION),
update_logical_minor_sstable_(false),
is_transfer_replace_(false),
start_scn_(SCN::min_scn()),
tablet_meta_(nullptr),
@ -456,7 +455,6 @@ void ObBatchUpdateTableStoreParam::reset()
{
tables_handle_.reset();
rebuild_seq_ = OB_INVALID_VERSION;
update_logical_minor_sstable_ = false;
is_transfer_replace_ = false;
start_scn_.set_min();
tablet_meta_ = nullptr;
@ -467,8 +465,6 @@ void ObBatchUpdateTableStoreParam::reset()
bool ObBatchUpdateTableStoreParam::is_valid() const
{
return rebuild_seq_ > OB_INVALID_VERSION
&& (!update_logical_minor_sstable_
|| (update_logical_minor_sstable_ && start_scn_ > SCN::min_scn() && OB_ISNULL(tablet_meta_)))
&& ObTabletRestoreStatus::is_valid(restore_status_);
}
@ -483,7 +479,6 @@ int ObBatchUpdateTableStoreParam::assign(
LOG_WARN("failed to assign tables handle", K(ret), K(param));
} else {
rebuild_seq_ = param.rebuild_seq_;
update_logical_minor_sstable_ = param.update_logical_minor_sstable_;
is_transfer_replace_ = param.is_transfer_replace_;
start_scn_ = param.start_scn_;
tablet_meta_ = param.tablet_meta_;