Skip to content

[Core] Ignore worker lease requests from dead caller (#43920) - #43975

Merged
khluu merged 1 commit into
releases/2.10.0from
jjyao/pick
Mar 13, 2024
Merged

khluu merged 1 commit into
releases/2.10.0from
jjyao/pick

Conversation

@jjyao

@jjyao jjyao commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

Currently we clear all the pending lease requests when raylet receives the worker death notification. However if the lease request comes in after the notification (CoreWorker calls Disconnect and then Shutdown, the worker death notification happen after Disconnect but at that time there can be in-flight lease requests to the raylet), the lease request won't have chance to be cleared. This PR fixes this by ignoring those lease requests.

Why are these changes needed?

Cherry pick #43920

Related issue number

Checks

Currently we clear all the pending lease requests when raylet receives the worker death notification. However if the lease request comes in after the notification (CoreWorker calls Disconnect and then Shutdown, the worker death notification happen after Disconnect but at that time there can be in-flight lease requests to the raylet), the lease request won't have chance to be cleared. This PR fixes this by ignoring those lease requests.

Signed-off-by: Jiajun Yao <[email protected]>

@zhe-thoughts zhe-thoughts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release blocker

@khluu
khluu merged commit 4dd31e1 into releases/2.10.0 Mar 13, 2024
@khluu
khluu deleted the jjyao/pick branch March 13, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants