-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Make RAY_CHECK for actor re-creation non-fatal #5553
Make RAY_CHECK for actor re-creation non-fatal #5553
Conversation
Test PASSed. |
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized there is probably a simpler way to do this. Right now, the worker gets assigned an actor ID right away, before the async lookup to the GCS. That makes it available to execute tasks. Instead, we could assign the actor ID in the lookup callback.
src/ray/raylet/node_manager.cc
Outdated
RAY_LOG(WARNING) << "Actor not in reconstructing state, most likely it " | ||
<< "died before creation handler could run. Actor state is " | ||
<< actor_entry->second.GetState(); | ||
return actor_info_ptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also should not add the actor table entry to the GCS, right?
Test PASSed. |
Ok, good idea, let me try the other approach :) |
6496add
to
180220a
Compare
Test PASSed. |
Test PASSed. |
Why are these changes needed?
Related issue number
This is a workaround for #5524.
Linter
scripts/format.sh
to lint the changes in this PR.