zhangyue19921010 opened a new pull request, #11345:
URL: https://github.com/apache/paimon/pull/11345

   ### Purpose
   
   Fixes #11344.
   
   After a streaming reader is reset, its completed-checkpoint splits may be 
replayed while the enumerator still holds newer assigned/consumed progress. A 
new checkpoint can then advance the consumer past those restored splits.
   
   Reset that reader's progress, pending split request and checkpoint minima 
when its assignments are returned. Keep the previous completed consumer 
progress until fresh reader progress is available.
   
   ### Tests
   
   Added six real append-table and persisted-consumer-file regressions covering 
reader reset, old waiting requests, returned/empty assignments and pending 
checkpoints, including normal progress after replay. Current-base failures and 
the waiting-reader counterexample were independently reproduced.
   
   All 42 Flink 1.20.1 source/reader/checkpoint/alignment tests pass with 
normal Maven checks and RAT. JDK 11 with Java 8 source target; no full Flink 
job or snapshot/file-deletion experiment was run.
   


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