You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix some cases where flush reason is recorded as 'Immediate' (#2022)
* Make sure we return noFlush on an empty series
Signed-off-by: Bryan Boreham <bryan@weave.works>
* Pass the correct flush reason to closeHead()
Pass the reason from `shouldFlushChunk()` to `closeHead()`;
sending `reasonImmediate` was a bug.
We don't need to check `len(chunks)` is non-zero, since that would
return `noFlush` from `shouldFlushSeries()`.
Signed-off-by: Bryan Boreham <bryan@weave.works>
0 commit comments