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

Sprig is not using transactions when loading data #79

Open
tilo opened this issue Feb 6, 2016 · 1 comment
Open

Sprig is not using transactions when loading data #79

tilo opened this issue Feb 6, 2016 · 1 comment

Comments

@tilo
Copy link

tilo commented Feb 6, 2016

if something breaks when loading fixtures, e.g. because of incompatible DB schema version,
Sprig just bails out -- leaving partial data in the database.

It should use transactions for this

@ltk
Copy link
Contributor

ltk commented Feb 12, 2016

Hey @tilo, quick update: We've started work on this. 73ef516

For now I think we'd like to keep existing behavior by default, but provide the option to wrap the process in a transaction via the configuration block.

We just need to clean some things up, fix up our tests for the Mongoid version of the suite run, and then we'll put this into a release.

Thanks for filing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants