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] Decrement lineage ref count of an actor when the actor task return object reference is deleted #46230

Merged
merged 4 commits into from
Jun 25, 2024
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
up
Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
  • Loading branch information
jjyao committed Jun 24, 2024
commit c4fb0b1e9e1a0c2411ace504ef7af246cdacc5a6
2 changes: 2 additions & 0 deletions src/ray/core_worker/task_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,8 @@ int64_t TaskManager::RemoveLineageReference(const ObjectID &object_id,
}

if (it->second.spec.IsActorTask()) {
// We need to decrement the actor lineage ref count here
// since it's incremented during TaskManager::AddPendingTask.
const auto actor_creation_return_id = it->second.spec.ActorCreationDummyObjectId();
released_objects->push_back(actor_creation_return_id);
}
Expand Down
Loading