[FEAT MERGE] 4.x Dup Table
Co-authored-by: Minionyh <minions.yh@gmail.com> Co-authored-by: BinChenn <binchenn.bc@gmail.com> Co-authored-by: ChangerR <dingjinchengyx@163.com>
This commit is contained in:
@ -256,6 +256,7 @@ ObTenantSuperBlock::ObTenantSuperBlock(const uint64_t tenant_id, const bool is_h
|
||||
replay_start_point_.offset_ = 0;
|
||||
tablet_meta_entry_ = ObServerSuperBlock::EMPTY_LIST_ENTRY_BLOCK;
|
||||
ls_meta_entry_ = ObServerSuperBlock::EMPTY_LIST_ENTRY_BLOCK;
|
||||
ls_dup_table_entry_ = ObServerSuperBlock::EMPTY_LIST_ENTRY_BLOCK;
|
||||
}
|
||||
|
||||
void ObTenantSuperBlock::reset()
|
||||
@ -264,14 +265,15 @@ void ObTenantSuperBlock::reset()
|
||||
replay_start_point_.reset();
|
||||
ls_meta_entry_.reset();
|
||||
tablet_meta_entry_.reset();
|
||||
ls_dup_table_entry_ = ObServerSuperBlock::EMPTY_LIST_ENTRY_BLOCK;
|
||||
is_hidden_= false;
|
||||
}
|
||||
|
||||
bool ObTenantSuperBlock::is_valid() const
|
||||
{
|
||||
return OB_INVALID_TENANT_ID != tenant_id_ &&
|
||||
replay_start_point_.is_valid() &&
|
||||
ls_meta_entry_.is_valid() && tablet_meta_entry_.is_valid();
|
||||
return OB_INVALID_TENANT_ID != tenant_id_ && replay_start_point_.is_valid()
|
||||
&& ls_meta_entry_.is_valid() && tablet_meta_entry_.is_valid()
|
||||
&& ls_dup_table_entry_.is_valid();
|
||||
}
|
||||
|
||||
OB_SERIALIZE_MEMBER(ObTenantSuperBlock,
|
||||
@ -279,7 +281,8 @@ OB_SERIALIZE_MEMBER(ObTenantSuperBlock,
|
||||
replay_start_point_,
|
||||
ls_meta_entry_,
|
||||
tablet_meta_entry_,
|
||||
is_hidden_);
|
||||
is_hidden_,
|
||||
ls_dup_table_entry_);
|
||||
|
||||
} // end namespace storage
|
||||
} // end namespace oceanbase
|
||||
|
||||
Reference in New Issue
Block a user