Skip to content

Commit

Permalink
[fix](crash) fix be crash because of int overflow (#41554) (#41568)
Browse files Browse the repository at this point in the history
  • Loading branch information
cambyzju authored Oct 9, 2024
1 parent 9fe77b3 commit 0185f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/pipeline/task_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class MultiCoreTaskQueue : public TaskQueue {
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;
};

Expand Down

0 comments on commit 0185f80

Please sign in to comment.