fix px hang when use px batch rescan and ignore virtual table error

This commit is contained in:
obdev
2023-05-06 13:08:29 +00:00
committed by ob-robot
parent c0e8331ea8
commit ccc3ee9784

View File

@ -379,10 +379,16 @@ int ObDtlBasicChannel::mock_eof_buffer(int64_t timeout_ts)
buffer->set_data_msg(true);
buffer->seq_no() = 1;
buffer->pos() = 0;
if (OB_FAIL(attach(buffer))) {
LOG_WARN("fail to attach buffer", K(ret));
if (use_interm_result_) {
if (OB_FAIL(ObDTLIntermResultManager::process_interm_result(buffer, id_))) {
LOG_WARN("fail to process internal result", K(ret));
}
} else {
free_buffer_count();
if (OB_FAIL(attach(buffer))) {
LOG_WARN("fail to attach buffer", K(ret));
} else {
free_buffer_count();
}
}
}
if (NULL != buffer) {