From a3339bafe8539f7658593526c6d770e029e6ec79 Mon Sep 17 00:00:00 2001 From: Shanicky Chen Date: Wed, 29 May 2024 15:23:03 +0800 Subject: [PATCH] fix: Mixing arrangement backfill and no shuffle backfill can lead to scale failure part 2 (#16983) --- src/meta/src/stream/scale.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/meta/src/stream/scale.rs b/src/meta/src/stream/scale.rs index 34759c09ab72..d3bd0683674f 100644 --- a/src/meta/src/stream/scale.rs +++ b/src/meta/src/stream/scale.rs @@ -2525,9 +2525,7 @@ impl ScaleController { // We trace the upstreams of each downstream under the hierarchy until we reach the top // for every no_shuffle relation. while let Some(fragment_id) = queue.pop_front() { - if !no_shuffle_target_fragment_ids.contains(&fragment_id) - && !no_shuffle_source_fragment_ids.contains(&fragment_id) - { + if !no_shuffle_target_fragment_ids.contains(&fragment_id) { continue; }