fix load data case failed

This commit is contained in:
bf0
2021-08-29 01:47:38 +08:00
committed by wangzelin.wzl
parent 7be8c3653f
commit b5fd1cecbc
2 changed files with 18 additions and 22 deletions

View File

@ -424,7 +424,7 @@ int ObInnerSQLConnection::process_retry(
is_get_location_timeout_error(last_ret) || is_try_lock_row_err(last_ret) ||
is_has_no_readable_replica_err(last_ret) || is_select_dup_follow_replic_err(last_ret) ||
is_trans_stmt_need_retry_error(last_ret) || is_transaction_set_violation_err(last_ret) ||
is_snapshot_discarded_err(last_ret) || OB_AUTOINC_SERVICE_BUSY == last_ret)) {
is_snapshot_discarded_err(last_ret))) {
need_retry = true;
const uint64_t* trace_id = ObCurTraceId::get();
bool sql_trigger_by_user_req = (NULL != trace_id && 0 != trace_id[0] && 0 != trace_id[1]);