Skip to content

Commit

Permalink
feat: Stop block stream on delta lake failure
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Feb 14, 2024
1 parent fda01d1 commit c9f046c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions block-streamer/src/block_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,7 @@ pub(crate) async fn start_block_stream(
indexer,
redis_stream.clone(),
)
.await
.unwrap_or_else(|err| {
tracing::warn!(
"Failed to process Delta Lake blocks, continuing with original start block: {:?}",
err,
);

start_block_height
});
.await?;

let last_indexed_near_lake_block = process_near_lake_blocks(
last_indexed_delta_lake_block,
Expand Down

0 comments on commit c9f046c

Please sign in to comment.