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: Single fragment scaling is too conservative #19259

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

shanicky
Copy link
Contributor

@shanicky shanicky commented Nov 5, 2024

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

In previous versions, when handling a single fragment, it would be skipped if the current worker was included in the list of schedulable workers, which could lead to an imbalance.

Additionally, this PR attempts to use [] to access the key in the hashmap, replacing get().unwrap() for better debugging.

Checklist

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • All checks passed in ./risedev check (or alias, ./risedev c)

Signed-off-by: Shanicky Chen <peng@risingwave-labs.com>
@shanicky shanicky added this pull request to the merge queue Nov 7, 2024
@shanicky shanicky added the ci/run-backwards-compat-tests Run backwards compatibility tests in your PR. label Nov 7, 2024
@shanicky shanicky removed this pull request from the merge queue due to a manual request Nov 7, 2024
@shanicky shanicky added this pull request to the merge queue Nov 7, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 7, 2024
@shanicky shanicky added this pull request to the merge queue Nov 8, 2024
Merged via the queue into main with commit cc085eb Nov 8, 2024
55 checks passed
@shanicky shanicky deleted the peng/single-fragment-scale branch November 8, 2024 08:44
github-actions bot pushed a commit that referenced this pull request Nov 8, 2024
Signed-off-by: Shanicky Chen <peng@risingwave-labs.com>
github-merge-queue bot pushed a commit that referenced this pull request Nov 12, 2024
Signed-off-by: Shanicky Chen <peng@risingwave-labs.com>
Co-authored-by: Shanicky Chen <peng@risingwave-labs.com>
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