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
{{ message }}
Repository navigation
[Bug]: Prism early window pane is not processed immediately downstream #36128
I believe the change of upstream watermark is the criterion for determining if a bundle is ready. However, the issue is that inputW == upstreamW is not a reliable indicator that the upstream watermark is unchanged.
The updateWatermarks function, which runs before bundleReady, can set the inputWatermark to upstreamWatermark when both the upstream watermark has changed and minPending >= upstreamWatermark.
Activity
shunping commentedon Sep 12, 2025
cc'ed @lostluck
I believe the change of upstream watermark is the criterion for determining if a bundle is ready. However, the issue is that
inputW == upstreamWis not a reliable indicator that the upstream watermark is unchanged.beam/sdks/go/pkg/beam/runners/prism/internal/engine/elementmanager.go
Lines 2178 to 2179 in 1c74621
The
updateWatermarksfunction, which runs beforebundleReady, can set theinputWatermarktoupstreamWatermarkwhen both the upstream watermark has changed andminPending >= upstreamWatermark.beam/sdks/go/pkg/beam/runners/prism/internal/engine/elementmanager.go
Lines 2009 to 2020 in 1c74621
This can mask an actual change in the upstream watermark.
shunping commentedon Sep 15, 2025
Fixed in 36137