mxm opened a new pull request, #27015:
URL: https://github.com/apache/flink/pull/27015

   In #26433, we removed the EOI marker in the form of Long.MAX_VALUE as the 
checkpoint id. Since streaming pipelines can continue to checkpoint even after 
their respective operators have been shut down, it is not safe to use a 
constant as this can lead to duplicate commits.
   
   However, in batch pipelines we only have one commit on job shutdown. Using 
any checkpoint id should suffice in this scenario. Any pending committables 
should be processed by the ComitterOperator when the operator shuts down. No 
further checkpoints will take place.
   
   There are various connectors which rely on this behavior. I don't see any 
drawbacks from keeping this behavior for batch pipelines.
   
   Backport of #27004.


-- 
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