[CP] fix create local index too slow due to iterating __all_virtual_storage_stat

This commit is contained in:
YoungYang0820
2022-05-26 16:55:41 +08:00
committed by wangzelin.wzl
parent a9cc1b8cd0
commit 5aff21755b
10 changed files with 123 additions and 39 deletions

View File

@ -4939,5 +4939,30 @@ int ObSubmitBuildIndexTaskArg::assign(const ObSubmitBuildIndexTaskArg &other)
OB_SERIALIZE_MEMBER((ObSubmitBuildIndexTaskArg, ObDDLArg), index_tid_);
OB_SERIALIZE_MEMBER(ObFetchSstableSizeArg, pkey_, index_id_);
int ObFetchSstableSizeArg::assign(const ObFetchSstableSizeArg &other)
{
int ret = OB_SUCCESS;
if (this == &other) {
} else {
pkey_ = other.pkey_;
index_id_ = other.index_id_;
}
return ret;
}
OB_SERIALIZE_MEMBER(ObFetchSstableSizeRes, size_);
int ObFetchSstableSizeRes::assign(const ObFetchSstableSizeRes &other)
{
int ret = OB_SUCCESS;
if (this == &other) {
} else {
size_ = other.size_;
}
return ret;
}
} // end namespace obrpc
} // namespace oceanbase