ahmedabu98 opened a new issue, #41528:
URL: https://github.com/apache/beam/issues/41528

   ### What happened?
   
   Prism splits slow SDF bundle. Split residual checkpoints with later 
watermark estimate while primary still running. Prism keeps one 
`estimatedOutput` per stage, takes residual's value → stage output watermark 
passes primary's not-yet-persisted output → downstream GBK sees that output as 
late.
   
   Seen: Iceberg CDC streaming read replaying snapshot committed before 
pipeline start. Residual's empty poll sets watermark to now - poll interval. 
Snapshot's rows reach sink's commit-window GBK as LATE pane → `dead_letter`.
   - Prism v2.78.0: lost in 5/15 starts
   - `--experiments=prism_disable_sdf_split`: 0/15
   - Java DirectRunner: 0/20
   
   Code:
   - `engine/elementmanager.go`: `stageState.estimatedOutput` single value, 
overwritten per bundle, overrides output watermark, ignores in-progress bundles
   - `stage.go`: split residuals' output watermarks dropped
   
   Workaround: `--experiments=prism_disable_sdf_split`.
   
   ### Issue Priority
   
   Priority: 1 (data loss / total loss of function)
   
   ### Issue Components
   
   - [x] Component: Prism Runner
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to