Skip to content

Commit

Permalink
disable troublemaker in dispatcher temporarily
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Apr 5, 2024
1 parent c182ad7 commit f68bb80
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/stream/src/executor/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,13 @@ impl DispatchExecutor {
metrics: Arc<StreamingMetrics>,
chunk_size: usize,
) -> Self {
if crate::consistency::insane() {
// make some trouble before dispatching to avoid generating invalid dist key.
let mut info = input.info().clone();
info.identity = format!("{} (embedded trouble)", info.identity);
let troublemaker = TroublemakerExecutor::new(input, chunk_size);
input = (info, troublemaker).into();
}
// if crate::consistency::insane() {
// // make some trouble before dispatching to avoid generating invalid dist key.
// let mut info = input.info().clone();
// info.identity = format!("{} (embedded trouble)", info.identity);
// let troublemaker = TroublemakerExecutor::new(input, chunk_size);
// input = (info, troublemaker).into();
// }

let actor_id_str = actor_id.to_string();
let fragment_id_str = fragment_id.to_string();
Expand Down

0 comments on commit f68bb80

Please sign in to comment.