Skip to content

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

Open
ArnavBalyan wants to merge 1 commit into
apache:masterfrom
ArnavBalyan:arnavb/fix-scan-fb
Open

[core] Fix scan version for fallback branch#9323
ArnavBalyan wants to merge 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

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.

1 participant