-
-
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.
sink: simplify decInflight for batches in req
This simplifies the logic: grab all batches before issuing a request, finish everything once handling the response is done. Importantly, this also ensures that we do not double finish if we had a txnal req that removed a partition from the request (because it would not be removed from batchesFlat).
- Loading branch information
Showing
1 changed file
with
27 additions
and
20 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