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

DB may be corrupted by concurrently running server #7

Open
d1m0 opened this issue May 19, 2017 · 0 comments
Open

DB may be corrupted by concurrently running server #7

d1m0 opened this issue May 19, 2017 · 0 comments

Comments

@d1m0
Copy link
Contributor

d1m0 commented May 19, 2017

Currently our database is a single sqlite file per experiment. As you can have multiple servers running at the same time in an experiment (when you pulished multiple hits at the same time) you can have concurrent accesses to the database. This can lead to corruption. Options include:

  1. For now only run 1 hit at a time for experiment
  2. Use a file lock
  3. Use an actual db server
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