-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix source: advance offsets even if we return no records
Commit 058f692 changed things to not buffer a fetch if the fetch contained no records. Unfortunately, if a fetch has a small MaxBytes and can only consume one record, and that one record is a control batch, then we would never advance offsets. We now advance offsets internally if we process a fetch successfully, even if we do not buffer a fetch to be returned.
- Loading branch information
Showing
1 changed file
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters