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(compatibility): always fill expr_context in StreamActor #13888

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

KeXiangWang
Copy link
Contributor

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

What's changed and what's your intention?

Fix #13883.

Checklist

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • I have added test labels as necessary. See details.
  • I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features Sqlsmith: Sql feature generation #7934).
  • My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
  • All checks passed in ./risedev check (or alias, ./risedev c)
  • My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)
  • My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

  • My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

@github-actions github-actions bot added the type/fix Bug fix label Dec 8, 2023
for (node_id, actor_ids) in fragments.worker_actors(include_inactive) {
let node_actor_ids = actor_maps.entry(node_id).or_insert_with(Vec::new);
node_actor_ids.extend(actor_ids);
for (node_id, actors) in fragments.worker_actors(include_inactive) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unrelated trivial renaming. The type of actor_ids here is Vec<StreamActor>.

@KeXiangWang KeXiangWang added the ci/run-backwards-compat-tests Run backwards compatibility tests in your PR. label Dec 8, 2023
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (a2efd8c) 68.34% compared to head (1162806) 68.34%.

Files Patch % Lines
src/meta/src/model/stream.rs 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13888      +/-   ##
==========================================
- Coverage   68.34%   68.34%   -0.01%     
==========================================
  Files        1528     1528              
  Lines      263330   263340      +10     
==========================================
+ Hits       179976   179979       +3     
- Misses      83354    83361       +7     
Flag Coverage Δ
rust 68.34% <28.57%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@KeXiangWang KeXiangWang added this pull request to the merge queue Dec 9, 2023
Merged via the queue into main with commit 8e6818e Dec 9, 2023
12 of 13 checks passed
@KeXiangWang KeXiangWang deleted the wkx/fix-compatiblity-build_actors branch December 9, 2023 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/run-backwards-compat-tests Run backwards compatibility tests in your PR. type/fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: build_actors panic -- backward compatibility
2 participants