Change the ap_mini_task_mgr memory allocator from TCFactory to op_reclaim_alloc
This commit is contained in:
committed by
wangzelin.wzl
parent
28e32c861b
commit
4a67d3f351
@ -22,8 +22,6 @@
|
||||
namespace oceanbase {
|
||||
using namespace common;
|
||||
namespace sql {
|
||||
REGISTER_CREATOR(ObAPMiniTaskMgrGFactory, ObAPMiniTaskMgr, ObAPMiniTaskMgr, 0);
|
||||
|
||||
int ObAPMiniTaskMgr::save_task_result(
|
||||
const ObAddr& task_addr, int64_t task_id, int32_t ret_code, const ObMiniTaskResult& result)
|
||||
{
|
||||
@ -87,8 +85,7 @@ int ObAPMiniTaskMgr::init(ObSQLSessionInfo& session, ObExecutorRpcImpl* exec_rpc
|
||||
void ObAPMiniTaskMgr::reset()
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObDLinkBase<ObAPMiniTaskMgr>::reset();
|
||||
void* p = NULL;
|
||||
void *p = NULL;
|
||||
while (OB_SUCC(finish_queue_.pop(p, 0))) {
|
||||
if (p != NULL) {
|
||||
ObMiniTaskEvent* task_event = static_cast<ObMiniTaskEvent*>(p);
|
||||
|
||||
Reference in New Issue
Block a user