From eff454d6009cb7b2010c2740466f974ba04d1825 Mon Sep 17 00:00:00 2001 From: cambyzhu Date: Tue, 8 Oct 2024 16:27:30 +0800 Subject: [PATCH] fix be crash because of int overflow --- 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 e48deb517575db..b389ebc2c51517 100644 --- a/be/src/pipeline/task_queue.h +++ b/be/src/pipeline/task_queue.h @@ -147,7 +147,7 @@ class MultiCoreTaskQueue : public TaskQueue { 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; };