Remove crashing assert in actor creation for old scheduler (#11577)

* remove assert

* warn log
This commit is contained in:
Eric Liang
2020-10-24 00:05:26 -07:00
committed by GitHub
parent 5ad5cb61ca
commit d3ee83205b
+3 -1
View File
@@ -2784,7 +2784,9 @@ void NodeManager::HandleObjectLocal(const ObjectID &object_id) {
// Filter out direct call actors. These are not tracked by the raylet and
// their assigned task ID is the actor ID.
for (const auto &id : ready_task_id_set_copy) {
RAY_CHECK(actor_registry_.count(id.ActorId()) > 0);
if (actor_registry_.count(id.ActorId()) == 0) {
RAY_LOG(WARNING) << "Actor not found in registry " << id.Hex();
}
ready_task_id_set.erase(id);
}