[FEAT MERGE] impl vectorization 2.0
Co-authored-by: Naynahs <cfzy002@126.com> Co-authored-by: hwx65 <1780011298@qq.com> Co-authored-by: oceanoverflow <oceanoverflow@gmail.com>
This commit is contained in:
@ -283,8 +283,6 @@ int ObDASSyncFetchP::process()
|
||||
ObDataAccessService *das = NULL;
|
||||
const uint64_t tenant_id = req.get_tenant_id();
|
||||
const int64_t task_id = req.get_task_id();
|
||||
ObChunkDatumStore &datum_store = res.get_datum_store();
|
||||
bool has_more = false;
|
||||
if (tenant_id != MTL_ID()) {
|
||||
ret = OB_INVALID_ARGUMENT;
|
||||
LOG_WARN("wrong tenant id", KR(ret), K(req));
|
||||
@ -293,9 +291,7 @@ int ObDASSyncFetchP::process()
|
||||
} else if (OB_ISNULL(das = MTL(ObDataAccessService *))) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("das is null", KR(ret), KP(das));
|
||||
} else if (OB_FAIL(das->get_task_res_mgr().iterator_task_result(task_id,
|
||||
datum_store,
|
||||
has_more))) {
|
||||
} else if (OB_FAIL(das->get_task_res_mgr().iterator_task_result(res))) {
|
||||
if (OB_UNLIKELY(OB_ENTRY_NOT_EXIST == ret)) {
|
||||
// After server reboot, the hash map containing task results was gone.
|
||||
// We need to retry for such cases.
|
||||
@ -304,8 +300,6 @@ int ObDASSyncFetchP::process()
|
||||
} else {
|
||||
LOG_WARN("get task result failed", KR(ret), K(res));
|
||||
}
|
||||
} else {
|
||||
res.set_has_more(has_more);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user