Skip to content

Commit

Permalink
remove assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Jan 2, 2025
1 parent 5447332 commit 478f935
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/meta/src/stream/source_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,12 @@ impl SourceManagerCore {
}
self.source_fragments.remove(&source_id);
if let Some(fragments) = self.backfill_fragments.remove(&source_id) {
debug_assert!(
fragments.is_empty(),
"when dropping source, there should be no backfill fragments, got: {:?}",
fragments
);
// TODO: enable this assertion after we implemented cleanup for backfill fragments
// debug_assert!(
// fragments.is_empty(),
// "when dropping source, there should be no backfill fragments, got: {:?}",
// fragments
// );
}
}

Expand Down

0 comments on commit 478f935

Please sign in to comment.