fix erase interm result with errno 4201
This commit is contained in:
@ -276,8 +276,8 @@ int ObDetectManager::unregister_check_item(const ObDetectableId &detectable_id,
|
|||||||
if (OB_FAIL(all_check_items_.erase_if(detectable_id, remove_node_call, is_erased))) {
|
if (OB_FAIL(all_check_items_.erase_if(detectable_id, remove_node_call, is_erased))) {
|
||||||
if (OB_HASH_NOT_EXIST == ret) {
|
if (OB_HASH_NOT_EXIST == ret) {
|
||||||
// if not found, the possible reason is that node is removed by ObDetectCallbackNodeExecuteCall
|
// if not found, the possible reason is that node is removed by ObDetectCallbackNodeExecuteCall
|
||||||
LIB_LOG(WARN, "[DM] unregister cb failed, maybe removed by other thread",
|
LIB_LOG(TRACE, "[DM] unregister cb failed, maybe removed by other thread",
|
||||||
K(ret), K(detectable_id), K(node_sequence_id));
|
K(detectable_id), K(node_sequence_id));
|
||||||
} else {
|
} else {
|
||||||
LIB_LOG(WARN, "[DM] unregister cb failed", K(ret), K(detectable_id), K(node_sequence_id));
|
LIB_LOG(WARN, "[DM] unregister cb failed", K(ret), K(detectable_id), K(node_sequence_id));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -233,7 +233,12 @@ int ObTempTableTransformationOp::destory_local_interm_results(ObIArray<uint64_t>
|
|||||||
dtl_int_key.channel_id_ = result_ids.at(i);
|
dtl_int_key.channel_id_ = result_ids.at(i);
|
||||||
if (OB_FAIL(dtl::ObDTLIntermResultManager::getInstance().erase_interm_result_info(
|
if (OB_FAIL(dtl::ObDTLIntermResultManager::getInstance().erase_interm_result_info(
|
||||||
dtl_int_key))) {
|
dtl_int_key))) {
|
||||||
LOG_WARN("failed to erase interm result info in manager.", K(ret));
|
if (OB_HASH_NOT_EXIST == ret) {
|
||||||
|
ret = OB_SUCCESS;
|
||||||
|
LOG_WARN("interm result may erased by DM", K(ret));
|
||||||
|
} else {
|
||||||
|
LOG_WARN("failed to erase interm result info in manager.", K(ret));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user