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

Refactor transaction handling to allow sqlite again #54

Open
schinken opened this issue May 15, 2019 · 1 comment
Open

Refactor transaction handling to allow sqlite again #54

schinken opened this issue May 15, 2019 · 1 comment

Comments

@schinken
Copy link
Contributor

No description provided.

@schinken
Copy link
Contributor Author

I tried changing code to update atomically. But then I can't correctly check the user account boundaries. Because there might be a race condition between simultaneous update requests. dang.

Why can't sqlite just support PESSIMISTIC WRITE :(
https://github.com/strichliste/strichliste-backend/blob/master/src/Service/TransactionService.php#L81

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

No branches or pull requests

1 participant