when creating a tablet, replace table schema with storage schema in clog.
This commit is contained in:
@ -3434,7 +3434,8 @@ struct ObBatchCreateTabletArg
|
||||
{
|
||||
OB_UNIS_VERSION(1);
|
||||
public:
|
||||
ObBatchCreateTabletArg() { reset(); }
|
||||
ObBatchCreateTabletArg()
|
||||
{ reset(); }
|
||||
~ObBatchCreateTabletArg() {}
|
||||
bool is_valid() const;
|
||||
bool is_inited() const;
|
||||
@ -3444,6 +3445,13 @@ public:
|
||||
const share::SCN &major_frozen_scn,
|
||||
const bool need_check_tablet_cnt);
|
||||
int64_t get_tablet_count() const;
|
||||
int serialize_for_create_tablet_schemas(char *buf,
|
||||
const int64_t data_len,
|
||||
int64_t &pos) const;
|
||||
int64_t get_serialize_size_for_create_tablet_schemas() const;
|
||||
int deserialize_create_tablet_schemas(const char *buf,
|
||||
const int64_t data_len,
|
||||
int64_t &pos);
|
||||
DECLARE_TO_STRING;
|
||||
|
||||
public:
|
||||
@ -3453,6 +3461,8 @@ public:
|
||||
common::ObSArray<ObCreateTabletInfo> tablets_;
|
||||
bool need_check_tablet_cnt_;
|
||||
bool is_old_mds_;
|
||||
common::ObSArray<storage::ObCreateTabletSchema*> create_tablet_schemas_;
|
||||
ObArenaAllocator allocator_;
|
||||
};
|
||||
|
||||
struct ObBatchRemoveTabletArg
|
||||
|
||||
Reference in New Issue
Block a user