[CP] Fix ps execute location leader not exist not retry
This commit is contained in:
@ -368,9 +368,10 @@ int ObInnerSQLConnection::process_retry(
|
||||
(OB_NOT_MASTER == last_ret || OB_PARTITION_NOT_EXIST == last_ret);
|
||||
ObQueryRetryInfo& retry_info = inner_session_.get_retry_info_for_update();
|
||||
const bool non_blocking_refresh = false;
|
||||
bool repeatable_stmt = (ObStmt::is_dml_stmt(result_set.get_stmt_type()) ||
|
||||
ObStmt::is_ddl_stmt(result_set.get_stmt_type(), result_set.has_global_variable()) ||
|
||||
ObStmt::is_dcl_stmt(result_set.get_stmt_type()));
|
||||
bool repeatable_stmt =
|
||||
(ObStmt::is_dml_stmt(result_set.get_stmt_type()) ||
|
||||
ObStmt::is_ddl_stmt(result_set.get_stmt_type(), result_set.has_global_variable()) ||
|
||||
ObStmt::is_dcl_stmt(result_set.get_stmt_type()) || ObStmt::is_execute_stmt(result_set.get_stmt_type()));
|
||||
int64_t now = ObTimeUtility::current_time();
|
||||
if (now >= abs_timeout_us) {
|
||||
ret = OB_TIMEOUT;
|
||||
|
||||
Reference in New Issue
Block a user