Skip to content

Commit

Permalink
chore: unready source worker should not affect other sources. (#18761)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanicky authored Sep 29, 2024
1 parent 4dfc4c9 commit 1da1815
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/meta/src/stream/source_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,13 @@ impl SourceManagerCore {
let backfill_fragment_ids = self.backfill_fragments.get(source_id);

let Some(discovered_splits) = handle.discovered_splits().await else {
return Ok(split_assignment);
tracing::info!(
"The discover loop for source {} is not ready yet; we'll wait for the next run",
source_id
);
continue;
};

if discovered_splits.is_empty() {
tracing::warn!("No splits discovered for source {}", source_id);
}
Expand Down

0 comments on commit 1da1815

Please sign in to comment.