Placeholder for auto_split

This commit is contained in:
Hongqin-Li 2024-09-20 09:12:13 +00:00 committed by ob-robot
parent 91b606dfdb
commit b1975d1a5b
5 changed files with 10 additions and 3 deletions

View File

@ -52,6 +52,7 @@ public:
OPERATION_TYPE_UNLOCK_ALONE_TABLET = 18,
OPERATION_TYPE_LOCK_OBJS = 19,
OPERATION_TYPE_UNLOCK_OBJS = 20,
OPERATION_TYPE_REPLACE_LOCK = 21,
OPERATION_TYPE_MAX = 100
};

View File

@ -3427,7 +3427,8 @@ OB_SERIALIZE_MEMBER((ObCreateIndexArg, ObIndexArg),
exist_all_column_group_,
index_cgs_,
vidx_refresh_info_,
is_rebuild_index_
is_rebuild_index_,
is_index_scope_specified_
);
int ObCreateAuxIndexArg::assign(const ObCreateAuxIndexArg &other)

View File

@ -34,6 +34,9 @@ enum class ObDDLClogType : int64_t
DDL_TABLET_SCHEMA_VERSION_CHANGE_LOG = 0x10,
DDL_START_LOG = 0x20,
DDL_COMMIT_LOG = 0x40,// rename from DDL_PREPARE_LOG
DDL_TABLET_SPLIT_START_LOG = 0x41,
DDL_TABLET_SPLIT_FINISH_LOG = 0x42,
DDL_TABLET_FREEZE_LOG = 0x43,
DDL_FINISH_LOG = 0x80,// finish log, smilarity role in shared storage mode
};

View File

@ -59,7 +59,8 @@ OB_SERIALIZE_MEMBER_INHERIT(ObLockTableRequest, ObLockRequest,
detect_param_);
OB_SERIALIZE_MEMBER_INHERIT(ObLockPartitionRequest, ObLockTableRequest,
part_object_id_);
part_object_id_,
is_sub_part_);
OB_SERIALIZE_MEMBER_INHERIT(ObLockTabletRequest, ObLockTableRequest,
tablet_id_);

View File

@ -265,7 +265,7 @@ struct ObLockPartitionRequest : public ObLockTableRequest
{
OB_UNIS_VERSION_V(1);
public:
ObLockPartitionRequest() : ObLockTableRequest(), part_object_id_(0)
ObLockPartitionRequest() : ObLockTableRequest(), part_object_id_(0), is_sub_part_(false)
{ type_ = ObLockMsgType::LOCK_PARTITION_REQ; }
virtual ~ObLockPartitionRequest() { reset(); }
virtual void reset();
@ -273,6 +273,7 @@ public:
INHERIT_TO_STRING_KV("ObLockTableRequest", ObLockTableRequest, K_(part_object_id));
public:
uint64_t part_object_id_;
bool is_sub_part_;
};
struct ObUnLockPartitionRequest : public ObLockPartitionRequest