Skip to content

Commit

Permalink
Optimize worker_id retrieval in CreateStreamingJobCommandInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
shanicky committed Jul 23, 2024
1 parent dbe51b5 commit f3f2d95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/meta/src/barrier/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ impl CreateStreamingJobCommandInfo {
.actor_status
.get(&actor.actor_id)
.expect("should exist")
.get_parallel_unit()
.expect("should set")
.worker_node_id,
.worker_id(),
)
})
.collect(),
Expand Down

0 comments on commit f3f2d95

Please sign in to comment.