Skip to content

Conversation

@dantengsky
Copy link
Member

@dantengsky dantengsky commented Jun 13, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Instead of caching table meta timestamps in txn manager, build table
meta timestamps according to the last visible table state inside the
transaction.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-bugfix this PR patches a bug in codebase label Jun 13, 2025
@dantengsky dantengsky force-pushed the fix-transient-table-within-explicit-txn branch 2 times, most recently from 3969673 to ad4b242 Compare June 13, 2025 17:36
@dantengsky dantengsky changed the title fix: Add small timestamp buffer for transient tables in explicit transactions fix: transient table no work as expected inside explicit transaction Jun 13, 2025
@dantengsky dantengsky force-pushed the fix-transient-table-within-explicit-txn branch 2 times, most recently from 46800ef to f35a68b Compare June 13, 2025 18:38
Instead of caching table meta timestamps in txn manager, build table
meta timestamps according to the last visible table state inside the
transaction.
@dantengsky dantengsky force-pushed the fix-transient-table-within-explicit-txn branch from f35a68b to fbec09a Compare June 14, 2025 03:45
@dantengsky dantengsky added the ci-cloud Build docker image for cloud test label Jun 14, 2025
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-18160-4c38b21-1749898285

note: this image tag is only available for internal use.

@dantengsky dantengsky force-pushed the fix-transient-table-within-explicit-txn branch from 04e0361 to b1d682f Compare June 14, 2025 12:02
@dantengsky dantengsky marked this pull request as ready for review June 17, 2025 01:42
@dantengsky dantengsky requested a review from SkyFan2002 June 17, 2025 01:42
@dantengsky
Copy link
Member Author

Passed smoking tests

@SkyFan2002 SkyFan2002 self-requested a review June 17, 2025 03:01
@BohuTANG BohuTANG merged commit 461a1e4 into databendlabs:main Jun 17, 2025
78 checks passed
@dantengsky
Copy link
Member Author

REVERTING, THIS PR MAY NOT SAFE

dantengsky added a commit to dantengsky/fuse-query that referenced this pull request Jun 17, 2025
BohuTANG pushed a commit that referenced this pull request Jun 17, 2025
…it transaction (#18160) (#18172)

Revert "fix: transient table no work as expected inside explicit transaction (#18160)"

This reverts commit 461a1e4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cloud Build docker image for cloud test pr-bugfix this PR patches a bug in codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: auto-compaction of transient tables fails silently bug: transient table no work as expected inside explicit transaction

3 participants