add PCODE placeholder and errno for palf_tiered_storage branch

This commit is contained in:
sunzhoujia
2024-07-31 12:41:04 +00:00
committed by ob-robot
parent c3a2d1cb4c
commit 26a7088365
5 changed files with 24 additions and 2 deletions

View File

@ -421,6 +421,7 @@ constexpr int OB_OBJECT_NOT_EXIST = -9120;
constexpr int OB_S2_REUSE_VERSION_MISMATCH = -9121; constexpr int OB_S2_REUSE_VERSION_MISMATCH = -9121;
constexpr int OB_S2_ENTRY_NOT_EXIST = -9122; constexpr int OB_S2_ENTRY_NOT_EXIST = -9122;
constexpr int OB_ALLOCATE_TMP_FILE_PAGE_FAILED = -9124; constexpr int OB_ALLOCATE_TMP_FILE_PAGE_FAILED = -9124;
constexpr int OB_SS_MICRO_CACHE_DISABLED = -9125;
constexpr int OB_ERR_XML_PARSE = -9549; constexpr int OB_ERR_XML_PARSE = -9549;
constexpr int OB_ERR_XSLT_PARSE = -9574; constexpr int OB_ERR_XSLT_PARSE = -9574;
constexpr int OB_HDFS_CONNECT_FS_ERROR = -11019; constexpr int OB_HDFS_CONNECT_FS_ERROR = -11019;

View File

@ -1185,6 +1185,8 @@ PCODE_DEF(OB_GENERATE_AUX_INDEX_SCHEMA, 0x1626)
// kill query client session. // kill query client session.
PCODE_DEF(OB_KILL_QUERY_CLIENT_SESSION, 0x162E) PCODE_DEF(OB_KILL_QUERY_CLIENT_SESSION, 0x162E)
//PCODE_DEF(OB_ENABLE_SS_MICRO_CACHE, 0x162F)
//PCODE_DEF(OB_GET_SS_MICRO_CACHE_INFO, 0x1630)
//**** 注意:在此行之前增加新的RPC ID ****** //**** 注意:在此行之前增加新的RPC ID ******
// //
//占位须知: //占位须知:

File diff suppressed because one or more lines are too long

View File

@ -2322,6 +2322,7 @@ DEFINE_ERROR_DEP(OB_S2_ENTRY_NOT_EXIST, -9122, -1, "HY000", "entry not exist in
DEFINE_ERROR(OB_TABLET_IS_SPLIT_SRC, -9123, -1, "HY000", "cannot access split src tablet"); DEFINE_ERROR(OB_TABLET_IS_SPLIT_SRC, -9123, -1, "HY000", "cannot access split src tablet");
DEFINE_ERROR_DEP(OB_ALLOCATE_TMP_FILE_PAGE_FAILED, -9124, -1, "HY000", "fail to allocate a tmp file page"); DEFINE_ERROR_DEP(OB_ALLOCATE_TMP_FILE_PAGE_FAILED, -9124, -1, "HY000", "fail to allocate a tmp file page");
DEFINE_ERROR_DEP(OB_SS_MICRO_CACHE_DISABLED, -9125, -1, "HY000", "ss_micro_cache is disabled");
// 余留位置,在该行之前继续添加storage错误码 // 余留位置,在该行之前继续添加storage错误码
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////

View File

@ -3874,6 +3874,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_S2_ENTRY_NOT_EXIST__USER_ERROR_MSG "entry not exist in s2 micro_cache" #define OB_S2_ENTRY_NOT_EXIST__USER_ERROR_MSG "entry not exist in s2 micro_cache"
#define OB_TABLET_IS_SPLIT_SRC__USER_ERROR_MSG "cannot access split src tablet" #define OB_TABLET_IS_SPLIT_SRC__USER_ERROR_MSG "cannot access split src tablet"
#define OB_ALLOCATE_TMP_FILE_PAGE_FAILED__USER_ERROR_MSG "fail to allocate a tmp file page" #define OB_ALLOCATE_TMP_FILE_PAGE_FAILED__USER_ERROR_MSG "fail to allocate a tmp file page"
#define OB_SS_MICRO_CACHE_DISABLED__USER_ERROR_MSG "ss_micro_cache is disabled"
#define OB_ERR_RESIZE_FILE_TO_SMALLER__USER_ERROR_MSG "Extend ssblock file to smaller is not allowed" #define OB_ERR_RESIZE_FILE_TO_SMALLER__USER_ERROR_MSG "Extend ssblock file to smaller is not allowed"
#define OB_MARK_BLOCK_INFO_TIMEOUT__USER_ERROR_MSG "Mark blocks timeout(5s) in auto extend process when alloc block fail" #define OB_MARK_BLOCK_INFO_TIMEOUT__USER_ERROR_MSG "Mark blocks timeout(5s) in auto extend process when alloc block fail"
#define OB_NOT_READY_TO_EXTEND_FILE__USER_ERROR_MSG "Auto extend param is not ready to start extending file" #define OB_NOT_READY_TO_EXTEND_FILE__USER_ERROR_MSG "Auto extend param is not ready to start extending file"
@ -8152,6 +8153,8 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_TABLET_IS_SPLIT_SRC__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9123, cannot access split src tablet" #define OB_TABLET_IS_SPLIT_SRC__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9123, cannot access split src tablet"
#define OB_ALLOCATE_TMP_FILE_PAGE_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9124, fail to allocate a tmp file page" #define OB_ALLOCATE_TMP_FILE_PAGE_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9124, fail to allocate a tmp file page"
#define OB_ALLOCATE_TMP_FILE_PAGE_FAILED__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9124, fail to allocate a tmp file page" #define OB_ALLOCATE_TMP_FILE_PAGE_FAILED__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9124, fail to allocate a tmp file page"
#define OB_SS_MICRO_CACHE_DISABLED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9125, ss_micro_cache is disabled"
#define OB_SS_MICRO_CACHE_DISABLED__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9125, ss_micro_cache is disabled"
#define OB_ERR_RESIZE_FILE_TO_SMALLER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9200, Extend ssblock file to smaller is not allowed" #define OB_ERR_RESIZE_FILE_TO_SMALLER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9200, Extend ssblock file to smaller is not allowed"
#define OB_ERR_RESIZE_FILE_TO_SMALLER__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9200, Extend ssblock file to smaller is not allowed" #define OB_ERR_RESIZE_FILE_TO_SMALLER__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -9200, Extend ssblock file to smaller is not allowed"
#define OB_MARK_BLOCK_INFO_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9201, Mark blocks timeout(5s) in auto extend process when alloc block fail" #define OB_MARK_BLOCK_INFO_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9201, Mark blocks timeout(5s) in auto extend process when alloc block fail"
@ -8873,7 +8876,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-01861: Incorrect datetime value for column '%.*s' at row %ld" #define OB_ERR_INVALID_DATE_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-01861: Incorrect datetime value for column '%.*s' at row %ld"
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__OBE_USER_ERROR_MSG "OBE-01861: Incorrect datetime value for column '%.*s' at row %ld" #define OB_ERR_INVALID_DATE_MSG_FMT_V2__OBE_USER_ERROR_MSG "OBE-01861: Incorrect datetime value for column '%.*s' at row %ld"
extern int g_all_ob_errnos[2316]; extern int g_all_ob_errnos[2317];
const char *ob_error_name(const int oberr); const char *ob_error_name(const int oberr);
const char* ob_error_cause(const int oberr); const char* ob_error_cause(const int oberr);