add OB_TASK_EXPIRED and OB_PACKET_STATUS_UNKNOWN to ddl retry error code

This commit is contained in:
Charles0429
2022-11-25 03:36:12 +00:00
committed by wangzelin.wzl
parent af61c1de99
commit 2f92ff4ea7

View File

@ -60,6 +60,7 @@ public:
|| common::OB_PARTITION_NOT_EXIST == ret_code || common::OB_PG_IS_REMOVED == ret_code || common::OB_TENANT_NOT_EXIST == ret_code
|| common::OB_RPC_SEND_ERROR == ret_code || common::OB_RPC_CONNECT_ERROR == ret_code || common::OB_DDL_SCHEMA_VERSION_NOT_MATCH == ret_code
|| OB_TRANS_ROLLBACKED == ret_code || OB_TRANS_TIMEOUT == ret_code || OB_ERR_WAIT_REMOTE_SCHEMA_REFRESH == ret_code
|| OB_PACKET_STATUS_UNKNOWN == ret_code || OB_TASK_EXPIRED == ret_code
|| is_location_service_renew_error(ret_code);
}
static bool in_ddl_retry_black_list(const int ret_code)