Skip to content

Add a transaction context manager to backend#2387

Merged
sphuber merged 1 commit into
provenance_redesignfrom
backend_transactions
Jan 15, 2019
Merged

Add a transaction context manager to backend#2387
sphuber merged 1 commit into
provenance_redesignfrom
backend_transactions

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Jan 15, 2019

This allows to group operations that will be rolled back if the
context is exited with an exception. This is laying the groundwork for
implementing Node as part of the new backend system as links, caches,
etc will have to be done in a transaction.

This allows to group operations that will be rolled back if the
context is exited with an exception. This is laying the groundwork for
implementing `Node` as part of the new backend system as links, caches,
etc will have to be done in a transaction.
@sphuber sphuber requested a review from giovannipizzi January 15, 2019 08:41
Copy link
Copy Markdown
Member

@giovannipizzi giovannipizzi left a comment

Choose a reason for hiding this comment

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

Very nice!

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.009%) to 68.724% when pulling eff520c on backend_transactions into 69f3bd5 on provenance_redesign.

1 similar comment
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.009%) to 68.724% when pulling eff520c on backend_transactions into 69f3bd5 on provenance_redesign.

@sphuber sphuber merged commit a2456ab into provenance_redesign Jan 15, 2019
@sphuber sphuber deleted the backend_transactions branch January 15, 2019 09:04
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.

3 participants