From 0185f8069f5cd8d5d342829ed9b2797817eba306 Mon Sep 17 00:00:00 2001 From: camby Date: Wed, 9 Oct 2024 14:20:55 +0800 Subject: [PATCH] [fix](crash) fix be crash because of int overflow (#41554) (#41568) --- be/src/pipeline/task_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/pipeline/task_queue.h b/be/src/pipeline/task_queue.h index 3ac9de4602..e93d58ed07 100644 --- a/be/src/pipeline/task_queue.h +++ b/be/src/pipeline/task_queue.h @@ -155,7 +155,7 @@ private: int core_id, std::vector>& prio_task_queue_list); std::shared_ptr>> _prio_task_queue_list; - std::atomic _next_core = 0; + std::atomic _next_core = 0; std::atomic _closed; };