Skip to content

Commit

Permalink
Add upstream ID updates in DdlController
Browse files Browse the repository at this point in the history
  • Loading branch information
shanicky committed Jan 10, 2024
1 parent 7a8133a commit 83e0c09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/meta/src/rpc/ddl_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,11 @@ impl DdlController {
}
}

// update downstream actors' upstream_actor_id and upstream_fragment_id
for actor in &mut union_fragment.actors {
actor.upstream_actor_id.extend(sink_actor_ids);
}

union_fragment
.upstream_fragment_ids
.push(upstream_fragment_id);
Expand Down

0 comments on commit 83e0c09

Please sign in to comment.