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

Store commit actions in the Transaction #531

Merged
merged 7 commits into from
Dec 28, 2024
Merged

Store commit actions in the Transaction #531

merged 7 commits into from
Dec 28, 2024

Conversation

gartens
Copy link
Contributor

@gartens gartens commented Dec 24, 2024

With the upcoming locking changes DDL transactions can commit concurrently with non-DDL transactions. In that case there is a race to execute (and cleanup) the commit actions stored in the Catalog when committing transactions. To avoid this race, store the commit actions (as well as the constraint checks) in the active Transaction.

Copy link
Member

@vogti vogti left a comment

Choose a reason for hiding this comment

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

Thx, @gartens, for this PR!

@vogti vogti merged commit 70bfa21 into master Dec 28, 2024
32 checks passed
@vogti vogti deleted the commit-actions-fix branch December 28, 2024 09:47
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