free request after submit request failed
This commit is contained in:
@ -896,6 +896,7 @@ int ObTenantIOManager::inner_aio(const ObIOInfo &info, ObIOHandle &handle)
|
|||||||
LOG_WARN("schedule request failed", K(ret), KPC(req));
|
LOG_WARN("schedule request failed", K(ret), KPC(req));
|
||||||
}
|
}
|
||||||
if (OB_FAIL(ret)) {
|
if (OB_FAIL(ret)) {
|
||||||
|
req->free();
|
||||||
handle.reset();
|
handle.reset();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
@ -948,6 +949,10 @@ int ObTenantIOManager::detect_aio(const ObIOInfo &info, ObIOHandle &handle)
|
|||||||
//print req
|
//print req
|
||||||
LOG_INFO("submit_detect_request cost too much time", K(ret), K(time_guard), K(req));
|
LOG_INFO("submit_detect_request cost too much time", K(ret), K(time_guard), K(req));
|
||||||
}
|
}
|
||||||
|
if (OB_FAIL(ret)) {
|
||||||
|
req->free();
|
||||||
|
handle.reset();
|
||||||
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user