Skip to content

[core] GCS get all actors info no longer need to specify if dead jobs' actors need to be included - #34415

Closed
rickyyx wants to merge 3 commits into
ray-project:masterfrom
rickyyx:pr-no-more-dead-job-actor-option
Closed

rickyyx wants to merge 3 commits into
ray-project:masterfrom
rickyyx:pr-no-more-dead-job-actor-option

Conversation

@rickyyx

@rickyyx rickyyx commented Apr 14, 2023 •

Copy link
Copy Markdown
Member

Why are these changes needed?

With #31019, we always have up to 10k dead actors cached by default.

There's no existing usecase where we don't want to have actors from dead jobs (AFAIK)

With #34348, one could filter actors with job id as well.

Related issue number

Checks

Signed-off-by: rickyyx <[email protected]>

@rkooo567 rkooo567 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.

cc @alanwguo is this flag used from you guys side?

@alanwguo

Copy link
Copy Markdown
Contributor

cc @alanwguo is this flag used from you guys side?

No, we don't use that flag today. In the progress bar summary API we currently get the actor name from the actor task (parse the actor name from <ActorName>.<method_name>). This was a hack because the actors list api did not return actors for dead jobs so we couldn't get the actor name from the actor id.

Now, we can use the actor api to get the actor name from actor ID but we haven't made that change yet.

Signed-off-by: rickyyx <[email protected]>
@wuisawesome

Copy link
Copy Markdown
Contributor

Don't have a strong opinion here. Just for historical context, IIRC the 10k actor limit and per-job cleanup were there to avoid leaking memory.

@rkooo567

Copy link
Copy Markdown
Contributor

cc @rickyyx do you think it is hard to handle @alanwguo's comment in this PR? Seems like an easy change.

@rkooo567

Copy link
Copy Markdown
Contributor

cc @scv119 to review gcs_service proto changes

@stale

stale Bot commented Jun 10, 2023

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

  • If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@stale stale Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Jun 10, 2023
@rickyyx

rickyyx commented Jun 12, 2023

Copy link
Copy Markdown
Member Author

TODO

@stale stale Bot removed the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Jun 12, 2023
@stale

stale Bot commented Jul 15, 2023

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

  • If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@stale stale Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Jul 15, 2023
@rkooo567 rkooo567 removed the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Jul 18, 2023
@stale

stale Bot commented Sep 17, 2023

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

  • If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@stale stale Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Sep 17, 2023
@stale

stale Bot commented Oct 15, 2023

Copy link
Copy Markdown

Hi again! The issue will be closed because there has been no more activity in the 14 days since the last message.

Please feel free to reopen or open a new issue if you'd still like it to be addressed.

Again, you can always ask for help on our discussion forum or Ray's public slack channel.

Thanks again for opening the issue!

@stale stale Bot closed this Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale The issue is stale. It will be closed within 7 days unless there are further conversation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants