Skip to content

Commit

Permalink
[Core] Fix a bug where we submit the actor creation task to the wrong…
Browse files Browse the repository at this point in the history
… submitter (#47109)

Signed-off-by: Jiajun Yao <[email protected]>
  • Loading branch information
jjyao authored Aug 13, 2024
1 parent ba9db6b commit 51963ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ray/core_worker/core_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ CoreWorker::CoreWorker(const CoreWorkerOptions &options, const WorkerID &worker_
}
RAY_CHECK_OK(actor_task_submitter_->SubmitTask(spec));
} else {
RAY_CHECK(spec.IsNormalTask());
RAY_CHECK_OK(normal_task_submitter_->SubmitTask(spec));
}
}
Expand Down Expand Up @@ -1075,6 +1076,8 @@ void CoreWorker::InternalHeartbeat() {
actor_handle->SetResubmittedActorTaskSpec(spec);
}
RAY_CHECK_OK(actor_task_submitter_->SubmitTask(spec));
} else if (spec.IsActorCreationTask()) {
RAY_CHECK_OK(actor_task_submitter_->SubmitActorCreationTask(spec));
} else {
RAY_CHECK_OK(normal_task_submitter_->SubmitTask(spec));
}
Expand Down

0 comments on commit 51963ba

Please sign in to comment.