Skip to content

Commit

Permalink
Crash with more information to debug sharding bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ms705 committed Jun 26, 2018
1 parent 4a214b5 commit 47189dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dataflow/src/domain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2009,10 +2009,10 @@ impl Domain {
// continue with their replays.
for key in for_keys.unwrap() {
let hole = (key_cols.clone(), key);
let replay = waiting
.redos
.remove(&hole)
.expect("got backfill for unnecessary key");
let replay = waiting.redos.remove(&hole).expect(&format!(
"node {:?} got backfill for unnecessary key {:?} via tag {:?}",
ni, hole.1, tag
));

// we may need more holes to fill before some replays should be re-attempted
let replay: Vec<_> = replay
Expand Down

0 comments on commit 47189dd

Please sign in to comment.