when DM interrupts qc, it is necessary to update_qc_error_code
This commit is contained in:
parent
bd3a3b98fd
commit
bb6a7c5b38
@ -842,6 +842,10 @@ int ObPxCoordOp::check_all_sqc(ObIArray<ObDfo *> &active_dfos,
|
||||
all_dfo_terminate = false;
|
||||
break;
|
||||
} 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_interrupt_by_dm(false);
|
||||
const DASTabletLocIArray &access_locations = sqc->get_access_table_locations();
|
||||
|
Loading…
x
Reference in New Issue
Block a user