[master] fix mark session in retry for LargeQuery

This commit is contained in:
chinaxing
2023-02-07 17:33:25 +08:00
committed by ob-robot
parent b46b539702
commit 3d73ffb652
2 changed files with 5 additions and 1 deletions

View File

@ -793,7 +793,7 @@ OB_INLINE int ObMPQuery::do_process(ObSQLSessionInfo &session,
need_response_error = false;
}
} else {
session.set_session_in_retry(ObSessionRetryStatus::SESS_IN_RETRY);
retry_ctrl_.set_packet_retry(ret);
session.get_retry_info_for_update().set_last_query_retry_err(ret);
session.get_retry_info_for_update().inc_retry_cnt();
}