Skip to content

Conversation

@Youngwb
Copy link
Contributor

@Youngwb Youngwb commented Dec 25, 2025

Why I'm doing:

sometimes sr can not query latest snapshot after insert into

What I'm doing:

refresh fe cache after insert into finish

Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
    • This pr needs auto generate documentation
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 4.0
    • 3.5
    • 3.4
    • 3.3

Note

Ensures FE sees the latest Iceberg snapshot right after data commit.

  • In IcebergMetadata.finishSink, after batchWrite.commit() and transaction.commitTransaction(), invoke refreshTable(dbName, table, new ArrayList<>(), false) before asyncRefreshOthersFeMetadataCache(...) to update FE metadata cache.

Written by Cursor Bugbot for commit 4339ec3. This will update automatically on new commits. Configure here.

@Youngwb Youngwb requested a review from a team as a code owner December 25, 2025 12:19
@alvin-celerdata
Copy link
Contributor

@cursor review

@sonarqubecloud
Copy link

@github-actions
Copy link

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions
Copy link

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

@github-actions
Copy link

[BE Incremental Coverage Report]

pass : 0 / 0 (0%)

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