You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2026/06/15 07:28:26 UTC

[PR] [python] Retry missing earliest snapshot in time travel [paimon]

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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [core][python] Improve earliest snapshot retry handling [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8242:
URL: https://github.com/apache/paimon/pull/8242


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org