Skip to content

Commit

Permalink
Fix handling for empty record batches
Browse files Browse the repository at this point in the history
With magic v2 and above, it's possible to have empty record batches.
This was previously not considered and could lead to panics because the
code relied on the record count being non-zero in multiple places.

Fixes segmentio#874
  • Loading branch information
SoMuchForSubtlety committed Apr 2, 2023
1 parent fd64eaa commit 957669f
Showing 1 changed file with 224 additions and 97 deletions.
Loading

0 comments on commit 957669f

Please sign in to comment.