replace ObTableSchema to ObSimpleTableSchemaV2

This commit is contained in:
zs0
2021-09-02 11:34:59 +08:00
committed by wangzelin.wzl
parent 2b13a66b79
commit 29d1fd04e0
38 changed files with 153 additions and 133 deletions

View File

@ -50,7 +50,7 @@ class ObPartitionInfo;
class ObPartitionTableOperator;
class ObSplitInfo;
namespace schema {
class ObTableSchema;
class ObSimpleTableSchemaV2;
class ObMultiVersionSchemaService;
class ObSchemaGetterGuard;
} // namespace schema
@ -137,16 +137,16 @@ public:
void check_server_deleting();
virtual int alloc_tablegroup_partitions_for_create(const share::schema::ObTablegroupSchema& tablegroup_schema,
const obrpc::ObCreateTableMode create_mode, common::ObIArray<ObPartitionAddr>& tablegroup_addr);
virtual int alloc_partitions_for_create(const share::schema::ObTableSchema& table,
virtual int alloc_partitions_for_create(const share::schema::ObSimpleTableSchemaV2& table,
const obrpc::ObCreateTableMode create_mode, ObITablePartitionAddr& addr);
virtual int alloc_table_partitions_for_standby(const share::schema::ObTableSchema& table,
virtual int alloc_table_partitions_for_standby(const share::schema::ObSimpleTableSchemaV2& table,
const common::ObIArray<ObPartitionKey>& keys, const obrpc::ObCreateTableMode create_mode,
ObITablePartitionAddr& addr, share::schema::ObSchemaGetterGuard& guard);
virtual int alloc_tablegroup_partitions_for_standby(const share::schema::ObTablegroupSchema& table_group,
const common::ObIArray<ObPartitionKey>& keys, const obrpc::ObCreateTableMode create_mode,
ObITablePartitionAddr& addr, share::schema::ObSchemaGetterGuard& guard);
virtual int standby_alloc_partitions_for_split(const share::schema::ObTableSchema& table,
virtual int standby_alloc_partitions_for_split(const share::schema::ObSimpleTableSchemaV2& table,
const common::ObIArray<int64_t>& source_partition_ids, const common::ObIArray<int64_t>& dest_partition_ids,
ObITablePartitionAddr& addr);
template <typename SCHEMA>