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

fix: Fix the issue of actor migration panic caused by the in-place scale-down #20316

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

shanicky
Copy link
Contributor

@shanicky shanicky commented Jan 26, 2025

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

In certain situations, a worker node may experience an in-place parallelism reduction, potentially leading to a scenario where some actors of the worker do not need to be migrated. As a result, the worker slot containing these actors is not included in the plan. The solution is straightforward: simply skip this worker slot.

Checklist

  • I have written necessary rustdoc comments.

Copy link

gru-agent bot commented Jan 26, 2025

This pull request has been modified. If you want me to regenerate unit test for any of the files related, please find the file in "Files Changed" tab and add a comment @gru-agent. (The github "Comment on this file" feature is in the upper right corner of each file in "Files Changed" tab.)

@shanicky shanicky requested a review from zwang28 January 26, 2025 16:36
@shanicky shanicky changed the title fix: Fix the issue of actor migration panic caused by the in-place scale-in fix: Fix the issue of actor migration panic caused by the in-place scale-down Jan 26, 2025
Copy link
Member

@yezizp2012 yezizp2012 left a comment

Choose a reason for hiding this comment

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

LGTM

@shanicky shanicky added this pull request to the merge queue Jan 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 27, 2025
@shanicky shanicky added this pull request to the merge queue Jan 27, 2025
Merged via the queue into main with commit ef07a49 Jan 27, 2025
34 checks passed
@shanicky shanicky deleted the peng/fix-mig branch January 27, 2025 06:16
github-actions bot pushed a commit that referenced this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants