Placeholder about tenant snapshot | tenant clone
This commit is contained in:
parent
b153e02c44
commit
d043147db2
@ -13400,12 +13400,6 @@ def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15303'
|
||||
def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15304', all_def_keywords['__all_virtual_arbitration_service_status'])))
|
||||
def_table_schema(**gen_oracle_mapping_virtual_table_def('15305', all_def_keywords['__all_virtual_obj_lock']))
|
||||
|
||||
#def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15306', all_def_keywords['__all_virtual_tenant_snapshot'])))
|
||||
#def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15307', all_def_keywords['__all_virtual_tenant_snapshot_ls'])))
|
||||
#def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15308', all_def_keywords['__all_virtual_tenant_snapshot_ls_replica'])))
|
||||
#def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15309', all_def_keywords['__all_virtual_clone_job'])))
|
||||
#def_table_schema(**no_direct_access(gen_oracle_mapping_virtual_table_def('15310', all_def_keywords['__all_virtual_clone_job_history'])))
|
||||
|
||||
#######################################################################
|
||||
# oracle agent table index is defined after the System table Index area
|
||||
#######################################################################
|
||||
@ -13553,6 +13547,13 @@ def_table_schema(**gen_oracle_mapping_virtual_table_def('15414', all_def_keyword
|
||||
# 15430: __all_transfer_partition_task
|
||||
# 15431: __all_transfer_partition_task_history
|
||||
# 15432: __all_virtual_wr_sqltext
|
||||
|
||||
# 15433: __all_virtual_tenant_snapshot
|
||||
# 15434: __all_virtual_tenant_snapshot_ls
|
||||
# 15435: __all_virtual_tenant_snapshot_ls_replica
|
||||
# 15436: __all_virtual_clone_job
|
||||
# 15437: __all_virtual_clone_job_history
|
||||
# 15438: __all_virtual_tenant_snapshot_create_job
|
||||
# 余留位置
|
||||
|
||||
################################################################################
|
||||
|
@ -16,6 +16,7 @@
|
||||
// OBKV错误码,值域:[-10500, -10700)
|
||||
// 富客户端错误码,值域:[-10700, -10900)
|
||||
// SQL扩展区段1:[-11000, -12000)
|
||||
// 租户快照和克隆:[-12000, -12100)
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//error code -1~-999 are reserved
|
||||
@ -2352,6 +2353,15 @@ DEFINE_ERROR_EXT(OB_ERR_PLUGIN_IS_NOT_LOADED, -11003, ER_PLUGIN_IS_NOT_LOADED, "
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_HAS_TYPE_OR_TABLE_DEPENDENT, -11005, -1, "HY000", "cannot drop or replace a type with type or table dependents", 2303, "cannot drop or replace a type with type or table dependents");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_REPLACE_TYPE_WITH_TABLE_DEPENDENT, -11006, -1, "HY000", "cannot replace a type with table dependents", 22866, "cannot replace a type with table dependents");
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// tenant snapshot and tenant clone error codes [-12000 ~ -12100)
|
||||
////////////////////////////////////////////////////////////////
|
||||
//DEFINE_ERROR_EXT_DEP(OB_TENANT_SNAPSHOT_NOT_EXIST, -12000, -1, "HY000", "Tenant snapshot does not exist", "Tenant snapshot \'%.*s\' does not exist");
|
||||
//DEFINE_ERROR_EXT_DEP(OB_TENANT_SNAPSHOT_EXIST, -12001, -1, "HY000", "Tenant snapshot already exist", "Tenant snapshot \'%.*s\' already exist");
|
||||
//DEFINE_ERROR_EXT_DEP(OB_TENANT_SNAPSHOT_TIMEOUT, -12002, -1, "HY000", "Tenant snapshot task timeout", "Tenant snapshot task timeout. %.*s");
|
||||
//DEFINE_ERROR_EXT_DEP(OB_CLONE_TENANT_TIMEOUT, -12003, -1, "HY000", "Clone tenant timeout", "Clone tenant timeout. %.*s");
|
||||
//DEFINE_ERROR_EXT_DEP(OB_ERR_CLONE_TENANT, -12004, -1, "HY000", "Tenant clone job failed", "Tenant clone job failed during the %.*s stage");
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
// !!! text/blob || clob/blob erro code
|
||||
// for compat we cant not remove this errno!!!!
|
||||
|
@ -289,6 +289,8 @@ OB_STMT_TYPE_DEF_UNKNOWN_AT(T_CANCEL_RECOVER_TABLE, get_sys_tenant_alter_system_
|
||||
// OB_STMT_TYPE_DEF_UNKNOWN_AT(T_CREATE_TENANT_SNAPSHOT, get_sys_tenant_alter_system_priv, 290)
|
||||
// OB_STMT_TYPE_DEF_UNKNOWN_AT(T_DROP_TENANT_SNAPSHOT, get_sys_tenant_alter_system_priv, 291)
|
||||
// OB_STMT_TYPE_DEF(T_ALTER_SYSTEM_RESET_PARAMETER, get_sys_tenant_alter_system_priv, 292, ACTION_TYPE_ALTER_SYSTEM)
|
||||
// OB_STMT_TYPE_DEF_UNKNOWN_AT(T_CLONE_TENANT, get_sys_tenant_alter_system_priv, 293)
|
||||
// OB_STMT_TYPE_DEF_UNKNOWN_AT(T_RECYCLE_CLONE_JOB, get_sys_tenant_alter_system_priv, 294)
|
||||
OB_STMT_TYPE_DEF_UNKNOWN_AT(T_MAX, err_stmt_type_priv, 500)
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user