diff --git a/deps/oblib/src/rpc/obrpc/ob_rpc_packet_list.h b/deps/oblib/src/rpc/obrpc/ob_rpc_packet_list.h index 753a0e12d0..9a03fe221e 100644 --- a/deps/oblib/src/rpc/obrpc/ob_rpc_packet_list.h +++ b/deps/oblib/src/rpc/obrpc/ob_rpc_packet_list.h @@ -748,6 +748,8 @@ PCODE_DEF(OB_HANDLE_PART_TRANS_CTX, 0x85F) PCODE_DEF(OB_RESTORE_KEY, 0x860) PCODE_DEF(OB_SET_ROOT_KEY, 0x861) PCODE_DEF(OB_GET_ROOT_KEY, 0x862) +// PCODE_DEF(OB_CLONE_KEY, 0x863) +// PCODE_DEF(OB_TRIM_KEY_LIST, 0x864) //partition service //PCODE_DEF(OB_PTS_FETCH_INFO, 0x901) @@ -1043,3 +1045,11 @@ PCODE_DEF(OB_INNER_DROP_TENANT_SNAPSHOT, 0x1603) // for direct load PCODE_DEF(OB_DIRECT_LOAD_CONTROL, 0x1604) + +// 160A-161A for tenant snapshot and tenant clone +// PCODE_DEF(OB_CREATE_TENANT_SNAPSHOT, 0x160A) +// PCODE_DEF(OB_INNER_CREATE_TENANT_SNAPSHOT, 0x160B) +// PCODE_DEF(OB_DROP_TENANT_SNAPSHOT, 0x160C) +// PCODE_DEF(OB_INNER_DROP_TENANT_SNAPSHOT, 0x160D) +// PCODE_DEF(OB_CLONE_TENANT, 0x160E) +// PCODE_DEF(OB_CLONE_RESOURCE_POOL, 0x160F) \ No newline at end of file diff --git a/src/share/inner_table/ob_inner_table_schema_def.py b/src/share/inner_table/ob_inner_table_schema_def.py index 51797429ca..68d59534ed 100644 --- a/src/share/inner_table/ob_inner_table_schema_def.py +++ b/src/share/inner_table/ob_inner_table_schema_def.py @@ -5864,9 +5864,9 @@ def_table_schema( ('ls_group_id', 'int', 'false'), ], ) -# 460 : __all_tenant_snapshots +# 460 : __all_tenant_snapshot # 461 : __all_tenant_snapshot_ls -# 462 : __all_tenant_snapshot_ls_meta_table +# 462 : __all_virtual_tenant_snapshot_ls_replica # 463 : __all_mlogs # 464 : __all_mviews @@ -6298,6 +6298,9 @@ def_table_schema( # 483 : __all_storage_ha_error_diagnose # 484 : __all_storage_ha_perf_diagnose +# 485 : __all_clone_job +# 486 : __all_clone_job_history + # # 余留位置 ################################################################################ @@ -12970,6 +12973,10 @@ def_table_schema(**gen_iterate_private_virtual_table_def( # 12432: __all_virtual_column_gorup_mapping_history # 12433: __all_virtual_storage_ha_error_diagnose # 12434: __all_virtual_storage_ha_perf_diagnose + +# 12435: __all_virtual_clone_job +# 12436: __all_virtual_clone_job_history + # # 余留位置 # @@ -13239,6 +13246,12 @@ 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 #######################################################################