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

race condition with sqlite? #239

Open
dbu opened this issue Jan 5, 2015 · 3 comments
Open

race condition with sqlite? #239

dbu opened this issue Jan 5, 2015 · 3 comments
Labels

Comments

@dbu
Copy link
Member

dbu commented Jan 5, 2015

sqlite builds fail sometimes. in these 3 builds, each has one fail with a different php version:
https://travis-ci.org/jackalope/jackalope-doctrine-dbal/builds/45984013
https://travis-ci.org/jackalope/jackalope-doctrine-dbal/builds/45983999
https://travis-ci.org/jackalope/jackalope-doctrine-dbal/builds/45984013

can we synchronize / flush something, or do we need to wait at some step to reduce the risk of races?

@dbu dbu added the bug label Jan 5, 2015
@dantleech
Copy link
Contributor

Since when? I have seen this before, and I think there are some general issues with session state.. but I wonder which commit introduced / revealed this.

@dbu
Copy link
Member Author

dbu commented Feb 12, 2015

wonder if we could just remove the .sqlite file and rebuild the database instead. that might even be faster than the remove statements.

@dantleech
Copy link
Contributor

or better yet -- keep a copy of the initial file, and copy it everytime. like is done in the LiipFunctionalTest bundle.

@dbu dbu mentioned this issue Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants