[FEAT MERGE] Support batch construction of local indexes to solve the problem of temporary space enlargement
This commit is contained in:
committed by
ob-robot
parent
188418cf13
commit
6dfa79db04
@ -80,6 +80,13 @@ public:
|
||||
const int64_t ddl_task_id,
|
||||
const bool is_unique_index_checking,
|
||||
common::hash::ObHashMap<int64_t, int64_t> &column_checksums, common::ObMySQLProxy &sql_proxy);
|
||||
static int get_table_column_checksum_without_execution_id(
|
||||
const uint64_t tenant_id,
|
||||
const uint64_t table_id,
|
||||
const uint64_t index_table_id,
|
||||
const int64_t ddl_task_id,
|
||||
const bool is_unique_index_checking,
|
||||
common::hash::ObHashMap<int64_t, int64_t> &column_checksums, common::ObMySQLProxy &sql_proxy);
|
||||
static int get_tablet_checksum_record(
|
||||
const uint64_t tenant_id,
|
||||
const uint64_t execution_id,
|
||||
@ -88,6 +95,13 @@ public:
|
||||
const ObIArray<ObTabletID> &tablet_ids,
|
||||
ObMySQLProxy &sql_proxy,
|
||||
common::hash::ObHashMap<uint64_t, bool> &tablet_checksum_map);
|
||||
static int get_tablet_checksum_record_without_execution_id(
|
||||
const uint64_t tenant_id,
|
||||
const uint64_t table_id,
|
||||
const int64_t ddl_task_id,
|
||||
const ObIArray<ObTabletID> &tablet_ids,
|
||||
ObMySQLProxy &sql_proxy,
|
||||
common::hash::ObHashMap<uint64_t, bool> &tablet_checksum_map);
|
||||
static int check_column_checksum(
|
||||
const uint64_t tenant_id,
|
||||
const int64_t execution_id,
|
||||
@ -97,6 +111,14 @@ public:
|
||||
const bool is_unique_index_checking,
|
||||
bool &is_equal,
|
||||
common::ObMySQLProxy &sql_proxy);
|
||||
static int check_column_checksum_without_execution_id(
|
||||
const uint64_t tenant_id,
|
||||
const uint64_t data_table_id,
|
||||
const uint64_t index_table_id,
|
||||
const int64_t ddl_task_id,
|
||||
const bool is_unique_index_checking,
|
||||
bool &is_equal,
|
||||
common::ObMySQLProxy &sql_proxy);
|
||||
static int delete_checksum(
|
||||
const uint64_t tenant_id,
|
||||
const int64_t execution_id,
|
||||
@ -115,6 +137,22 @@ private:
|
||||
const uint64_t tenant_id,
|
||||
common::hash::ObHashMap<int64_t, int64_t> &column_checksum_map,
|
||||
common::ObMySQLProxy &sql_proxy);
|
||||
static int get_part_column_checksum(
|
||||
const uint64_t tenant_id,
|
||||
const uint64_t table_id,
|
||||
const uint64_t tablet_id,
|
||||
const uint64_t execution_id,
|
||||
const int64_t ddl_task_id,
|
||||
const bool is_unique_index_checking,
|
||||
common::ObMySQLProxy &sql_proxy,
|
||||
common::hash::ObHashMap<int64_t, int64_t> &column_checksum_map);
|
||||
static int get_tablet_latest_execution_id(
|
||||
const uint64_t tenant_id,
|
||||
const uint64_t index_table_id,
|
||||
const int64_t ddl_task_id,
|
||||
const int64_t tablet_id,
|
||||
common::ObMySQLProxy &sql_proxy,
|
||||
int64_t &execution_id);
|
||||
static int get_tablet_checksum_status(
|
||||
const ObSqlString &sql,
|
||||
const uint64_t tenant_id,
|
||||
|
||||
Reference in New Issue
Block a user