Skip to content

[Ray: Core] Ray can hang when getting an ObjectRef from an unknown environment #28341

@pabloem

Description

@pabloem

What happened + What you expected to happen

In the following script, the last statement hangs:

ray.init()
myref = ray.put('mystringhere')
ray.shutdown()

ray.init()
ray.get(myref)   # This statement hangs

What I would expect is for it to eventually throw an exception.

Versions / Dependencies

I ran this on Ray 2.0 and a recent Linux Debian

Reproduction script

ray.init()
myref = ray.put('mystringhere')
ray.shutdown()

ray.init()
ray.get(myref)   # This statement hangs

Issue Severity

Medium: It is a significant difficulty but I can work around it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalbugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray Corefix-error-msgThis issue has a bad error message that should be improved.observabilityIssues related to the Ray Dashboard, Logging, Metrics, Tracing, and/or Profilingpending-cleanupThis issue is pending cleanup. It will be removed in 2 weeks after being assigned.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions