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

Refresh bug #91

Open
ralucasg opened this issue Apr 5, 2017 · 1 comment
Open

Refresh bug #91

ralucasg opened this issue Apr 5, 2017 · 1 comment

Comments

@ralucasg
Copy link

ralucasg commented Apr 5, 2017

screenshot_10
Steps:
upload archive,
go to all grades,
refresh

@razvancrainea
Copy link

Additional information: this bug happened when the server was under high load and a write operation to the database (that was taking too long) was interrupted. This left the database locked for any operations, reads or writes, and the server could no longer be used.

A quick solution was to replace the database with a new one:

mv vmchecker.db vmchecker-locked.db
echo ".dump" | sqlite3 vmchecker-locked.db | sqlite3 vmchecker.db

After this the service recovered.

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

2 participants