merge devleop into master 20231212
This commit is contained in:
@ -12179,7 +12179,7 @@ int ObDDLService::alter_table_in_trans(obrpc::ObAlterTableArg &alter_table_arg,
|
||||
ObArray<AlterTableSchema*> inc_table_schemas;
|
||||
ObArray<AlterTableSchema*> del_table_schemas;
|
||||
ObArenaAllocator allocator("ModifyPart");
|
||||
//table partitons
|
||||
//table partitions
|
||||
ObArray<int64_t> new_partition_ids;
|
||||
if (OB_SUCC(ret) && alter_table_arg.is_alter_partitions_) {
|
||||
if (OB_FAIL(check_restore_point_allow(tenant_id, *orig_table_schema))) {
|
||||
@ -14023,7 +14023,7 @@ int ObDDLService::check_alter_partitions(const ObTableSchema &orig_table_schema,
|
||||
} else if (obrpc::ObAlterTableArg::TRUNCATE_PARTITION == alter_part_type) {
|
||||
bool is_truncate = true;
|
||||
if (OB_FAIL(check_alter_drop_partitions(orig_table_schema, alter_table_arg, is_truncate))) {
|
||||
LOG_WARN("failed to check truncate partitons", K(ret), K(orig_table_schema), K(alter_table_arg));
|
||||
LOG_WARN("failed to check truncate partitions", K(ret), K(orig_table_schema), K(alter_table_arg));
|
||||
}
|
||||
is_drop_or_truncate = true;
|
||||
} else if (obrpc::ObAlterTableArg::TRUNCATE_SUB_PARTITION == alter_part_type) {
|
||||
@ -25018,7 +25018,7 @@ int ObDDLService::create_tenant_sys_ls(
|
||||
LOG_WARN("fail to wait election leader", KR(ret), K(tenant_id), K(SYS_LS), K(timeout));
|
||||
}
|
||||
int64_t wait_leader_end = ObTimeUtility::current_time();
|
||||
wait_leader = wait_leader_end - wait_leader_end;
|
||||
wait_leader = wait_leader_end - wait_leader_start;
|
||||
}
|
||||
}
|
||||
if (is_meta_tenant(tenant_id)) {
|
||||
|
||||
Reference in New Issue
Block a user