Skip to content

Commit

Permalink
fix be crash because of int overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cambyzju committed Oct 8, 2024
1 parent e8a1a16 commit eff454d
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 @@ -147,7 +147,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 eff454d

Please sign in to comment.