Skip to content

feat: retry failed transaction commit#626

Merged
wgtmac merged 3 commits intoapache:mainfrom
linguoxuan:retry_pr
Apr 24, 2026
Merged

feat: retry failed transaction commit#626
wgtmac merged 3 commits intoapache:mainfrom
linguoxuan:retry_pr

Conversation

@linguoxuan
Copy link
Copy Markdown
Contributor

This commit implements the retry for transaction commits. It introduces a generic RetryRunner utility with exponential backoff and error-kind filtering, and integrates it into Transaction::Commit() to automatically refresh table metadata and retry on commit conflicts.

Copy link
Copy Markdown
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you, @linguoxuan!

@wgtmac wgtmac merged commit 8809e0f into apache:main Apr 24, 2026
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