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

   ### Purpose
   
   When several snapshots share a watermark, `rollback_to_watermark` could roll 
back to a snapshot in the middle of that run and drop later snapshots that also 
carry the requested watermark. Repeated watermarks are common because the 
commit watermark takes the maximum, so compaction snapshots and commits without 
their own watermark inherit the previous one.
   
   `earlierOrEqualWatermark` now keeps searching to the right on an exact match 
and returns the last such snapshot, mirroring the lower-bound handling of 
`laterOrEqualWatermark` from #10420.
   
   ### Tests


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