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] Move checkalive to NodeInfoManager in GCS. #29389

Merged
merged 10 commits into from
Oct 19, 2022

Conversation

fishbone
Copy link
Contributor

@fishbone fishbone commented Oct 16, 2022

Why are these changes needed?

The CheckAlive is used by the dashboard and ray health-check to check the healthiness of the ray cluster and raylet.
It's implemented in HeartbeatManager which means if we disable heartbeat manager, it's not going to work.
Heartbeat manager should only do the heartbeat and health check and no other things. So this feature fit into NodeInfoManager better.

This PR just move this feature to NodeInfoManager and still keep the semantics of the rpc.

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Yi Cheng <[email protected]>
Signed-off-by: Yi Cheng <[email protected]>
Signed-off-by: Yi Cheng <[email protected]>
Signed-off-by: Yi Cheng <[email protected]>
@fishbone fishbone marked this pull request as ready for review October 17, 2022 16:24
@fishbone fishbone changed the title Move check alive to node mgr [core] Move checkalive to NodeInfoManager in GCS. Oct 17, 2022
Signed-off-by: Yi Cheng <[email protected]>
Signed-off-by: Yi Cheng <[email protected]>
Signed-off-by: Yi Cheng <[email protected]>
@fishbone
Copy link
Contributor Author

fishbone commented Oct 18, 2022

@wuisawesome @ericl could one of you give a look as the code owner?

@fishbone fishbone force-pushed the move-check-alive-to-node-mgr branch from d1b6ffd to 6c5b35b Compare October 18, 2022 19:47
Signed-off-by: Yi Cheng <[email protected]>
@fishbone fishbone force-pushed the move-check-alive-to-node-mgr branch from 6c5b35b to ddfdd78 Compare October 18, 2022 20:56
@fishbone fishbone merged commit 3e357c8 into ray-project:master Oct 19, 2022
@fishbone
Copy link
Contributor Author

mac failure unrelated

WeichenXu123 pushed a commit to WeichenXu123/ray that referenced this pull request Dec 19, 2022
The CheckAlive is used by the dashboard and ray health-check to check the healthiness of the ray cluster and raylet.
It's implemented in HeartbeatManager which means if we disable heartbeat manager, it's not going to work.
Heartbeat manager should only do the heartbeat and health check and no other things. So this feature fit into NodeInfoManager better.

This PR just move this feature to NodeInfoManager and still keep the semantics of the rpc.

Signed-off-by: Weichen Xu <[email protected]>
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.

6 participants