Commit 64f14e9
committed
fix(distributed): drain last operator output in PipelineDriver to prevent infinite loop
The processOnce() loop only passed output between adjacent operator pairs
(i to i+1), never calling getOutput() on the last operator. Operators that
buffer pages (e.g., PassThroughOperator) would never have their buffer
drained, causing isFinished() to never return true and an infinite loop
in run().1 parent dcdeabe commit 64f14e9
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
167 | 179 | | |
168 | 180 | | |
169 | 181 | | |
| |||
0 commit comments