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

Do not fail to write entry into malformed SQLite database #75

Open
abyss7 opened this issue Sep 16, 2016 · 0 comments
Open

Do not fail to write entry into malformed SQLite database #75

abyss7 opened this issue Sep 16, 2016 · 0 comments

Comments

@abyss7
Copy link
Owner

abyss7 commented Sep 16, 2016

In case of free space shortage or any other reason the SQLite file may become malformed. We need to properly handle this situation:

  • try to repair,
  • drop broken image and recreate it,
  • try to write new entry again.

Otherwise, the daemon asserts here: https://github.com/abyss7/dist-clang/blob/master/src/cache/file_cache.cc#L100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant