fix schema version reappears after recycle

This commit is contained in:
YoungYang0820
2022-01-24 15:58:37 +08:00
committed by LINxiansheng
parent 16062de3b3
commit 495b296f0f
9 changed files with 90 additions and 15 deletions

View File

@ -8302,6 +8302,28 @@ public:
int ret_;
};
struct ObSubmitBuildIndexTaskArg : public ObDDLArg {
OB_UNIS_VERSION(1);
public:
ObSubmitBuildIndexTaskArg() : ObDDLArg(), index_tid_(0)
{}
~ObSubmitBuildIndexTaskArg()
{}
bool is_valid() const
{
return index_tid_ > 0;
}
virtual int assign(const ObSubmitBuildIndexTaskArg &other);
TO_STRING_KV(K_(index_tid));
private:
DISALLOW_COPY_AND_ASSIGN(ObSubmitBuildIndexTaskArg);
public:
uint64_t index_tid_;
};
} // end namespace obrpc
} // end namespace oceanbase
#endif