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

ACID guarantee for operations #1

Closed
mcgizzle opened this issue Dec 4, 2017 · 2 comments
Closed

ACID guarantee for operations #1

mcgizzle opened this issue Dec 4, 2017 · 2 comments

Comments

@mcgizzle
Copy link
Owner

mcgizzle commented Dec 4, 2017

Place: Directory Server/src/Controller.hs
Issue: Possible race conditions

Change updateFile so that it takes place inside a single runSqlPool call and is therefore a single transaction.

stack overflow question

@mcgizzle
Copy link
Owner Author

Have refactored this. Will need to test to assure its working properly.

@mcgizzle
Copy link
Owner Author

It is working correctly. ACID guaranteed.

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