Skip to content

[core] Fix scan version for fallback branch - #9323

Merged
JingsongLi merged 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-scan-fb
Aug 23, 2026
Merged

[core] Fix scan version for fallback branch#9323
JingsongLi merged 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-scan-fb

Conversation

@ArnavBalyan

Copy link
Copy Markdown
Member

Purpose

  • During reads, when a fallback branch is configured, Paimon forwards the scan.version to the fallback reader.
  • However this scan version can represent different commit timestamps across the main and fallback branch causing the wrong snapshot to be picked from fallback branch.
  • Fix by mapping scan versions to the fallback snapshot using the main snapshot timestamp.

Tests

  • UT

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit a47bde3 into apache:master Aug 23, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants