Skip to content

Commit 2f10d62

Browse files
obdevfootka
authored andcommitted
[CP] [fix] ai service guard memory leak in hybrid refresh task
Co-authored-by: footka <672528926@qq.com>
1 parent beeb04d commit 2f10d62

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/share/vector_index/ob_vector_index_async_task_util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,6 @@ int ObVecIndexAsyncTaskUtil::resume_task_from_inner_table(
548548
LOG_WARN("async task ctx is null", K(ret));
549549
} else if (task_result.task_type_ == ObVecIndexAsyncTaskType::OB_VECTOR_ASYNC_HYBRID_VECTOR_EMBEDDING && OB_FALSE_IT(task_ctx = new(task_ctx_buf) ObHybridVectorRefreshTaskCtx())) {
550550
} else if (task_result.task_type_ != ObVecIndexAsyncTaskType::OB_VECTOR_ASYNC_HYBRID_VECTOR_EMBEDDING && OB_FALSE_IT(task_ctx = new(task_ctx_buf) ObVecIndexAsyncTaskCtx())) {
551-
} else if (OB_FALSE_IT(task_ctx = new(task_ctx_buf) ObVecIndexAsyncTaskCtx())) {
552551
} else if (OB_FALSE_IT(task_ctx->task_status_ = task_result)) {
553552
} else if (OB_FALSE_IT(task_ctx->task_status_.tenant_id_ = tenant_id)) {
554553
} else if (OB_FALSE_IT(task_ctx->task_status_.status_ = ObVecIndexAsyncTaskStatus::OB_VECTOR_ASYNC_TASK_PREPARE)) {

0 commit comments

Comments
 (0)