[CP] fix px retry 4377
This commit is contained in:
@ -1217,17 +1217,13 @@ int ObParallelDfoScheduler::dispatch_sqc(ObExecContext &exec_ctx,
|
|||||||
LOG_WARN("[DM] fail to push back dtl channels", K(push_ret), K(sqc.get_sqc_addr()),
|
LOG_WARN("[DM] fail to push back dtl channels", K(push_ret), K(sqc.get_sqc_addr()),
|
||||||
K(dfo.get_px_detectable_ids().sqc_detectable_id_));
|
K(dfo.get_px_detectable_ids().sqc_detectable_id_));
|
||||||
}
|
}
|
||||||
} else if (!cb->is_processed()) {
|
} else {
|
||||||
// if init_sqc_msg is not processed and the msg may be sent successfully, set server not alive.
|
// if init_sqc_msg is not processed and the msg may be sent successfully, set server not alive.
|
||||||
// then when qc waiting_all_dfo_exit, it will push sqc.access_table_locations into trans_result,
|
// then when qc waiting_all_dfo_exit, it will push sqc.access_table_locations into trans_result,
|
||||||
// and the query can be retried.
|
// and the query can be retried.
|
||||||
bool msg_not_send_out = (cb->get_error() == EASY_TIMEOUT_NOT_SENT_OUT
|
|
||||||
|| cb->get_error() == EASY_DISCONNECT_NOT_SENT_OUT);
|
|
||||||
if (!msg_not_send_out) {
|
|
||||||
sqc.set_server_not_alive(true);
|
sqc.set_server_not_alive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
if (OB_FAIL(ret)) {
|
if (OB_FAIL(ret)) {
|
||||||
} else if (OB_FAIL(proxy.launch_all_rpc_request())) {
|
} else if (OB_FAIL(proxy.launch_all_rpc_request())) {
|
||||||
|
Reference in New Issue
Block a user