Skip to content

feat(admin): recover unhealthy Ray client connections#1256

Open
zhangjaycee wants to merge 1 commit into
alibaba:masterfrom
zhangjaycee:feat/ray-disconnect-healthcheck
Open

feat(admin): recover unhealthy Ray client connections#1256
zhangjaycee wants to merge 1 commit into
alibaba:masterfrom
zhangjaycee:feat/ray-disconnect-healthcheck

Conversation

@zhangjaycee

Copy link
Copy Markdown
Collaborator

close #1255

  • Probe both local Ray initialization and cluster_resources RPC health before applying rotation policies.
  • Reuse the serialized shutdown/init retry path when the current client session is closed, cleaned up, or unresponsive.
  • Run health checks every 60 seconds with a configurable 30-second RPC timeout and detailed success/failure logs.
  • Add unit coverage for unhealthy-session reconnects, cleaned-session errors, and healthy RPC responses.

- Probe both local Ray initialization and cluster_resources RPC health before applying rotation policies.
- Reuse the serialized shutdown/init retry path when the current client session is closed, cleaned up, or unresponsive.
- Run health checks every 60 seconds with a configurable 30-second RPC timeout and detailed success/failure logs.
- Add unit coverage for unhealthy-session reconnects, cleaned-session errors, and healthy RPC responses.
@Dengsheng-wzh

Copy link
Copy Markdown
Collaborator

LGTM

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.

[Feature] Detect and recover unhealthy Ray Client connections

2 participants