Placeholder about RPC and LOG_BASE_TYPE

This commit is contained in:
lalalafeier
2023-11-17 13:15:21 +00:00
committed by ob-robot
parent c121ea9bf4
commit 18f0905d96
2 changed files with 12 additions and 3 deletions

View File

@ -758,8 +758,6 @@ 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)
PCODE_DEF(OB_CDC_FETCH_RAW_LOG, 0x863)
@ -1067,7 +1065,7 @@ PCODE_DEF(OB_DIRECT_LOAD_CONTROL, 0x1604)
// create materialized view log
// PCODE_DEF(OB_CREATE_MLOG, 0x1608)
// 160A-1610 for tenant clone
// 160A-160B for tenant clone
// PCODE_DEF(OB_CLONE_TENANT, 0x160A)
// PCODE_DEF(OB_CLONE_RESOURCE_POOL, 0x160B)
@ -1091,3 +1089,8 @@ PCODE_DEF(OB_DIRECT_LOAD_CONTROL, 0x1604)
// PCODE_DEF(OB_KILL_CLIENT_SESSION, 0x1614)
// obtain client session create time.
// PCODE_DEF(OB_CLIENT_SESSION_CONNECT_TIME, 0x1615)
//tenant clone
//PCODE_DEF(OB_NOTIFY_CLONE_SCHEDULER, 0x1616)
//PCODE_DEF(OB_CLONE_KEY, 0x1617)
//PCODE_DEF(OB_TRIM_KEY_LIST, 0x1618)

View File

@ -128,6 +128,12 @@ enum ObLogBaseType
// for table load resource manager
TABLE_LOAD_RESOURCE_SERVICE_LOG_BASE_TYPE = 40,
// for tenant snapshot
SNAPSHOT_SCHEDULER_LOG_BASE_TYPE = 41,
//for tenant clone
CLONE_SCHEDULER_LOG_BASE_TYPE = 42,
// pay attention!!!
// add log type in log_base_type_to_string
// max value