shared hj + channel sync hang
This commit is contained in:
@ -327,6 +327,10 @@ int ObPxTaskProcess::execute(ObOpSpec &root_spec)
|
||||
ret = OB_SUCCESS == ret ? tmp_ret : ret;
|
||||
LOG_WARN("failed to apply error code", K(ret), K(tmp_ret));
|
||||
}
|
||||
if (OB_SUCCESS != (tmp_ret = ObInterruptUtil::interrupt_tasks(arg_.get_sqc_handler()->get_sqc_init_arg().sqc_,
|
||||
OB_GOT_SIGNAL_ABORTING))) {
|
||||
LOG_WARN("interrupt_tasks failed", K(tmp_ret));
|
||||
}
|
||||
}
|
||||
if (OB_SUCCESS != (close_ret = root->close())) {
|
||||
LOG_WARN("fail close dfo op", K(ret), K(close_ret));
|
||||
@ -495,13 +499,6 @@ int ObPxTaskProcess::do_process()
|
||||
LOG_WARN("interrupt_qc failed", K(tmp_ret));
|
||||
}
|
||||
}
|
||||
// Regardless of whether interrupt_qc succeeds or not,
|
||||
// always execute interrupt_tasks to ensure other threads in the current sqc terminate more quickly,
|
||||
// thereby improving overall efficiency.
|
||||
if (OB_SUCCESS != (tmp_ret = ObInterruptUtil::interrupt_tasks(arg_.get_sqc_handler()->get_sqc_init_arg().sqc_,
|
||||
OB_GOT_SIGNAL_ABORTING))) {
|
||||
LOG_WARN("interrupt_tasks failed", K(tmp_ret));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user