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

fix: Fixed transaction rollback in validate command #159

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

wwoytenko
Copy link
Contributor

@wwoytenko wwoytenko commented Aug 14, 2024

We do not need to manage transactions in case of validation - we just close the connection. According to the documentation, the client can interrupt the COPY stream via connection close. Before this fix it raised a deadlock.

@wwoytenko wwoytenko added the bug Something isn't working label Aug 14, 2024
@wwoytenko wwoytenko self-assigned this Aug 14, 2024
@wwoytenko wwoytenko merged commit eb44dc1 into main Aug 14, 2024
13 checks passed
@wwoytenko wwoytenko mentioned this pull request Aug 14, 2024
11 tasks
@wwoytenko wwoytenko deleted the fix/validate_command_transaction_rollback branch August 30, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant