Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Jan 8, 2025

Closes #1253

While looking at #1433, i noticed that UpdateSchema does not respect the transaction semantic, i.e. it does not abort the whole transaction when any update in the transaction fails.

This is similar to #1246 and we had a discussion around it then. I raised #1253 to track.

The issue is from setting Transaction's autocommit=True. This is set for both UpdateSchema and UpdateSpec (source).

To reproduce, run test with

poetry run pytest tests/integration/test_rest_schema.py::test_abort_transaction -s -vvv

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.

[discuss] Transaction API's autocommit

1 participant