This is an automated email from the ASF dual-hosted git repository.

lide pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 0185f8069f5 [fix](crash) fix be crash because of int overflow (#41554) 
(#41568)
0185f8069f5 is described below

commit 0185f8069f5cd8d5d342829ed9b2797817eba306
Author: camby <camby...@tencent.com>
AuthorDate: Wed Oct 9 14:20:55 2024 +0800

    [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 3ac9de46025..e93d58ed07d 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<std::unique_ptr<PriorityTaskQueue>>& 
prio_task_queue_list);
 
     std::shared_ptr<std::vector<std::unique_ptr<PriorityTaskQueue>>> 
_prio_task_queue_list;
-    std::atomic<int> _next_core = 0;
+    std::atomic<uint32_t> _next_core = 0;
     std::atomic<bool> _closed;
 };
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to