-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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] Mark run_function_on_all_workers
as deprecated until we get rid of this.
#29062
Conversation
Signed-off-by: Yi Cheng <[email protected]>
do we know who is using it? |
@@ -683,6 +683,7 @@ def get_objects(self, object_refs: list, timeout: Optional[float] = None): | |||
debugger_breakpoint, | |||
) | |||
|
|||
@Deprecated |
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.
can we add some comments explain why it's deprecated? (as what you put in the PR summary)
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.
Sure!
@scv119 as far as I know, no one is using that. Modin has moved away from using this. |
Signed-off-by: Yi Cheng <[email protected]>
Does it make sense to deprecate it when this was never public APi? |
I think this is just to double warn the people who want to go to the dangerous zones not to do this. |
…rid of this. (ray-project#29062) run_function_on_all_workers has a lot of issues: no guarantee that the function run before the remote function run. pubsub signal might be lost in some failure cases. We can't delete it for now because the working dir init depends on this. So mark it as deprecated to warn people who uses this and delete it once we fix the working dir. Signed-off-by: Weichen Xu <[email protected]>
Signed-off-by: Yi Cheng [email protected]
Why are these changes needed?
run_function_on_all_workers
has a lot of issues:We can't delete it for now because the working dir init depends on this. So mark it as deprecated to warn people who uses this and delete it once we fix the working dir.
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.