Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Kernel][Writes] Allow transaction retries for blind append #3055

Merged
merged 3 commits into from
May 6, 2024

Conversation

vkorukanti
Copy link
Collaborator

@vkorukanti vkorukanti commented May 6, 2024

Description

Currently, Kernel throws an exception when there is a conflict (i.e., there already exists a committed file at a given version). We should retry the transaction as the current support is just for blind appends. Retry checks if there are no logical conflicts (metadata, protocol or txn (Set Tranaction)) conflicts that affect the blind append.

How was this patch tested?

Tests for protocol, metadata and setTxn conflicts. Also tests to verify blind appends are retried and committed.

@vkorukanti vkorukanti changed the title [WIP][Kernel][Writes] Allow transaction retries for blind append [Kernel][Writes] Allow transaction retries for blind append May 6, 2024
@vkorukanti vkorukanti force-pushed the conflictResolution branch from ccb8bd7 to 4b8b482 Compare May 6, 2024 20:18
@vkorukanti vkorukanti merged commit 0ca2607 into delta-io:master May 6, 2024
10 checks passed
vkorukanti added a commit that referenced this pull request May 6, 2024
Currently, Kernel throws an exception when there is a conflict (i.e.,
there already exists a committed file at a given version). We should
retry the transaction as the current support is just for blind appends.
Retry checks if there are no logical conflicts (`metadata`, `protocol`
or `txn` (Set Tranaction)) conflicts that affect the blind append.

Tests for protocol, metadata and setTxn conflicts. Also tests to verify
blind appends are retried and committed.
@vkorukanti vkorukanti deleted the conflictResolution branch May 9, 2024 02:44
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