Skip to content
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] Erases PopWorkerRequest on registration timeout. #48858

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

rynewang
Copy link
Contributor

This fixes a bug from #47694. When a PopWorkerRequest is time out, we should erase it from bookkeeping and invoke the callback with a WorkerPendingRegistration status. However only the latter is done and we forgot to erase, causing segfaults on a second call.

Fixes #48518.

Signed-off-by: Ruiyang Wang <rywang014@gmail.com>
@rynewang rynewang added the go add ONLY when ready to merge, run all tests label Nov 22, 2024
@rynewang
Copy link
Contributor Author

I verified the cpp unit test I added fails on master and passes with this fix.

@rynewang rynewang enabled auto-merge (squash) November 22, 2024 05:57
@rynewang rynewang merged commit be0bbd0 into ray-project:master Nov 22, 2024
6 checks passed
MortalHappiness pushed a commit to MortalHappiness/ray that referenced this pull request Nov 22, 2024
…48858)

This fixes a bug from ray-project#47694. When a PopWorkerRequest is time out, we
should erase it from bookkeeping and invoke the callback with a
`WorkerPendingRegistration` status. However only the latter is done and
we forgot to erase, causing segfaults on a second call.

Signed-off-by: Ruiyang Wang <rywang014@gmail.com>
@rynewang rynewang deleted the erase-on-registration-timeout branch November 22, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release test dask_on_ray_100gb_sort.aws failed
2 participants