Skip to content

Commit

Permalink
Address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Jan 6, 2025
1 parent 8bdb739 commit d165237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/worker/src/execution/orchestration/compact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ impl Handler<TaskResult<FlushSegmentWriterOutput, FlushSegmentWriterOperatorErro

if self.num_uncompleted_tasks_by_segment.is_empty() {
// Unwrap should be safe here as we are guaranteed to have a value by construction
self.register(self.pulled_log_offset.unwrap(), ctx).await;
self.register(self.pulled_log_offset.expect("Invariant violation: pulled_log_offset should have been populated at this point."), ctx).await;
}
}
}
Expand Down

0 comments on commit d165237

Please sign in to comment.