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