[scn] fix failure of mittest after refresh feature scn

This commit is contained in:
obdev
2022-11-28 01:46:42 +00:00
committed by ob-robot
parent 49a02f3304
commit 54b64a7263
1898 changed files with 255804 additions and 280809 deletions

View File

@ -26,6 +26,10 @@ namespace common
class ObMySQLProxy;
}
namespace palf
{
class SCN;
}
namespace share
{
class ObReplicaFilterHolder;
@ -55,7 +59,7 @@ public:
virtual ~ObIndexBuilder();
int create_index(const obrpc::ObCreateIndexArg &arg,
const int64_t frozen_version,
const palf::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int drop_index(const obrpc::ObDropIndexArg &arg, obrpc::ObDropIndexRes &res);
@ -63,22 +67,22 @@ public:
// if not all index table updated return OB_EAGAIN.
int do_create_index(
const obrpc::ObCreateIndexArg &arg,
const int64_t frozen_version,
const palf::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int do_create_global_index(
share::schema::ObSchemaGetterGuard &schema_guard,
const obrpc::ObCreateIndexArg &arg,
const share::schema::ObTableSchema &table_schema,
const int64_t frozen_version,
const palf::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int do_create_local_index(
share::schema::ObSchemaGetterGuard &schema_guard,
const obrpc::ObCreateIndexArg &arg,
const share::schema::ObTableSchema &table_schema,
const int64_t frozen_version,
const palf::SCN &frozen_scn,
obrpc::ObAlterTableRes &res);
int generate_schema(const obrpc::ObCreateIndexArg &arg,
const int64_t frozen_version,
const palf::SCN &frozen_scn,
share::schema::ObTableSchema &data_schema,
const bool global_index_without_column_info,
share::schema::ObTableSchema &index_schema);
@ -109,7 +113,7 @@ private:
};
int set_basic_infos(const obrpc::ObCreateIndexArg &arg,
const int64_t frozen_version,
const palf::SCN &frozen_scn,
const share::schema::ObTableSchema &data_schema,
share::schema::ObTableSchema &schema);
int set_index_table_columns(const obrpc::ObCreateIndexArg &arg,