Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core][c++ worker]Add namespace support for c++ worker #26327

Merged
merged 8 commits into from
Jul 12, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
â�fix test
  • Loading branch information
WangTaoTheTonic committed Jul 7, 2022
commit f760f3b6a55da209e9ec931b003307c4545cec29
4 changes: 3 additions & 1 deletion cpp/src/ray/runtime/abstract_ray_runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,9 @@ PlacementGroup AbstractRayRuntime::GetPlacementGroupById(const std::string &id)
}

PlacementGroup AbstractRayRuntime::GetPlacementGroup(const std::string &name) {
auto str_ptr = global_state_accessor_->GetPlacementGroupByName(name, "");
// TODO(WangTaoTheTonic): Add namespace support for placement group.
auto str_ptr = global_state_accessor_->GetPlacementGroupByName(
name, CoreWorkerProcess::GetCoreWorker().GetJobConfig().ray_namespace());
if (str_ptr == nullptr) {
return {};
}
Expand Down