Skip to content

Commit

Permalink
Add skip_create_new_actors field to RescheduleOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
shanicky committed Mar 6, 2024
1 parent 87320b5 commit 753b9c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/meta/service/src/scale_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ impl ScaleService for ScaleServiceImpl {
.collect(),
RescheduleOptions {
resolve_no_shuffle_upstream,
skip_create_new_actors: false,
},
Some(table_parallelisms),
)
Expand Down
2 changes: 2 additions & 0 deletions src/meta/src/barrier/recovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ impl GlobalBarrierManagerContext {
plan,
RescheduleOptions {
resolve_no_shuffle_upstream: true,
skip_create_new_actors: true,
},
Some(&mut compared_table_parallelisms),
)
Expand Down Expand Up @@ -828,6 +829,7 @@ impl GlobalBarrierManagerContext {
plan,
RescheduleOptions {
resolve_no_shuffle_upstream: true,
skip_create_new_actors: true,
},
Some(&mut compared_table_parallelisms),
)
Expand Down
1 change: 1 addition & 0 deletions src/meta/src/stream/scale.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2818,6 +2818,7 @@ impl GlobalStreamManager {
reschedules,
RescheduleOptions {
resolve_no_shuffle_upstream: false,
skip_create_new_actors: false,
},
None,
)
Expand Down
1 change: 1 addition & 0 deletions src/meta/src/stream/stream_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ impl GlobalStreamManager {
reschedules,
RescheduleOptions {
resolve_no_shuffle_upstream: false,
skip_create_new_actors: false,
},
Some(table_parallelism_assignment),
)
Expand Down

0 comments on commit 753b9c2

Please sign in to comment.