when DM interrupts qc, it is necessary to update_qc_error_code
This commit is contained in:
@ -842,6 +842,10 @@ int ObPxCoordOp::check_all_sqc(ObIArray<ObDfo *> &active_dfos,
|
|||||||
all_dfo_terminate = false;
|
all_dfo_terminate = false;
|
||||||
break;
|
break;
|
||||||
} else if (sqc->is_server_not_alive() || sqc->is_interrupt_by_dm()) {
|
} else if (sqc->is_server_not_alive() || sqc->is_interrupt_by_dm()) {
|
||||||
|
if (sqc->is_interrupt_by_dm()) {
|
||||||
|
ObRpcResultCode err_msg;
|
||||||
|
ObPxErrorUtil::update_qc_error_code(coord_info_.first_error_code_, OB_RPC_CONNECT_ERROR, err_msg);
|
||||||
|
}
|
||||||
sqc->set_server_not_alive(false);
|
sqc->set_server_not_alive(false);
|
||||||
sqc->set_interrupt_by_dm(false);
|
sqc->set_interrupt_by_dm(false);
|
||||||
const DASTabletLocIArray &access_locations = sqc->get_access_table_locations();
|
const DASTabletLocIArray &access_locations = sqc->get_access_table_locations();
|
||||||
|
|||||||
Reference in New Issue
Block a user