You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raulchen opened this issue
Aug 8, 2023
· 0 comments
Assignees
Labels
bugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray CoreP0Issues that should be fixed in short orderRay 2.7
Ray Data uses streaming generator with the following pattern. there is a small chance that the returned objects may get lost due to a race condition. And then makes the loop never stops.
The use pattern is pretty much the same as the above script. But I wasn't able to reproduce the issue with the above script.
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered:
raulchen
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
core
Issues that should be addressed in Ray Core
labels
Aug 8, 2023
rkooo567
added
P0
Issues that should be fixed in short order
Ray 2.7
and removed
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Aug 9, 2023
bugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray CoreP0Issues that should be fixed in short orderRay 2.7
What happened + What you expected to happen
Ray Data uses streaming generator with the following pattern. there is a small chance that the returned objects may get lost due to a race condition. And then makes the loop never stops.
This is what happens:
ray.wait(gens)
, we will temporarily create an ObjectRef with the next ID and use it for wait (code). This wait will succeed.gen._next_sync(0)
, the object is no longer available.I've verified that this issue can be fixed by storing the next ObjectRef in the streaming generator.
Versions / Dependencies
master
Reproduction script
I found this issue when running this benchmark with this branch.
The use pattern is pretty much the same as the above script. But I wasn't able to reproduce the issue with the above script.
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: