Skip to content

Commit

Permalink
[BugFix] Fix NPE workgroup executor (backport #54492) (#54501)
Browse files Browse the repository at this point in the history
Co-authored-by: stdpain <[email protected]>
  • Loading branch information
mergify[bot] and stdpain authored Dec 30, 2024
1 parent e1b5988 commit ee2f3ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions be/src/exec/workgroup/work_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,6 @@ void WorkGroupManager::create_workgroup_unlocked(const WorkGroupPtr& wg, UniqueL
std::unique_ptr<PipelineExecutorSet> exclusive_executors = nullptr;
{
const auto& cpuids = _executors_manager.get_cpuids_of_workgroup(wg.get());
unique_lock.unlock();
DeferOp unlock_guard([&unique_lock] { unique_lock.lock(); });
exclusive_executors = _executors_manager.maybe_create_exclusive_executors_unlocked(wg.get(), cpuids);
}
if (exclusive_executors != nullptr) {
Expand Down

0 comments on commit ee2f3ec

Please sign in to comment.