Skip to content

fix: error occurred when retrying transaction on empty table - #18703

Merged
dantengsky merged 7 commits into
databendlabs:mainfrom
SkyFan2002:fix_retry
Sep 10, 2025
Merged

dantengsky merged 7 commits into
databendlabs:mainfrom
SkyFan2002:fix_retry

Conversation

@SkyFan2002

@SkyFan2002 SkyFan2002 commented Sep 9, 2025 •

Copy link
Copy Markdown
Member

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

Summary

When executing transaction retries on empty tables, the code would fail when attempting to read the base snapshot, causing the transaction retry mechanism to malfunction.

fix: #18705

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 Sep 9, 2025
@KKould

KKould commented Sep 10, 2025

Copy link
Copy Markdown
Member

please update the code synchronization #18709 This PR solves the CI test_private_tasks error

@dantengsky
dantengsky merged commit 613a23a into databendlabs:main Sep 10, 2025
87 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix this PR patches a bug in codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: transaction failed unexpectedly with error message UnresolvableConflict. Code: 4001, Text = Table xxx snapshot lacks required timestamp

3 participants