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

   ## Summary
   
   This PR makes Python time-travel lookup tolerate a concurrently expired 
earliest snapshot, matching the Java `SnapshotManager` behavior. It also 
removes the noisy warning logs from the Java earliest-snapshot retry loops.
   
   ## Changes
   
   - Retry from the earliest snapshot id to a stop snapshot id in Python 
`SnapshotManager.try_get_earliest_snapshot` when the first candidate no longer 
exists.
   - Use the latest snapshot id as the retry stop bound for Python 
`earlier_or_equal_time_mills`.
   - Add a regression test covering `earlier_or_equal_time_mills` when the 
earliest snapshot disappears but a later snapshot is still available.
   - Remove repeated WARN logging from Java earliest snapshot/changelog retry 
loops.
   
   ## Testing
   
   - [x] `python -m pytest 
paimon-python/pypaimon/tests/time_travel_util_test.py 
paimon-python/pypaimon/tests/snapshot_manager_test.py`
   - [ ] `mvn -pl paimon-core -Pfast-build -Dtest=SnapshotManagerTest test` was 
attempted but interrupted while downloading snapshot dependencies from 
`repository.apache.org` after several minutes.
   


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