[CP] load data retry bug

This commit is contained in:
wjhh2008
2024-05-29 13:07:35 +00:00
committed by ob-robot
parent 924cc2e2b3
commit 02a9c37cd3

View File

@ -300,18 +300,24 @@ public:
v.retry_type_ = RETRY_TYPE_NONE;
}
v.no_more_test_ = true;
} else if (is_load_local(v)) {
v.client_ret_ = err;
v.retry_type_ = RETRY_TYPE_NONE;
v.no_more_test_ = true;
} else if (is_direct_load(v)) {
if (is_direct_load_retry_err(err)) {
try_packet_retry(v);
} else if (stmt::T_LOAD_DATA == v.result_.get_stmt_type()) {
if (is_load_local(v)) {
v.client_ret_ = err;
v.retry_type_ = RETRY_TYPE_NONE;
v.no_more_test_ = true;
} else if (is_direct_load(v)) {
if (is_direct_load_retry_err(err)) {
try_packet_retry(v);
} else {
v.client_ret_ = err;
v.retry_type_ = RETRY_TYPE_NONE;
}
v.no_more_test_ = true;
} else {
v.client_ret_ = err;
v.retry_type_ = RETRY_TYPE_NONE;
v.no_more_test_ = true;
}
v.no_more_test_ = true;
}
}
};