Commit c548631
committed
Revert "ct: Add early max_bytes check to L1 reader"
a0bbe35 made the L1 reader return end-of-stream + no data when
strict_max_bytes && max_bytes==0. In a fetch over many partitions the
plan hands the budget-exhausted tail partitions max_bytes==0 with
strict_max_bytes set (everything after the obligatory first read), so
those partitions now return nothing and never advance -- the consumer
stalls (ManyPartitionsTest cloud_topics times out, a regression since
late March). Before the check they got a trickle and drained.
Reverting to verify the regression via CDT; a proper fix that keeps the
no-wasteful-read intent without starving the tail follows.1 parent 7c11db3 commit c548631
1 file changed
Lines changed: 0 additions & 5 deletions
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 120 | | |
126 | 121 | | |
127 | 122 | | |
| |||
0 commit comments