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

Don't lock database when updating it #25

Open
spwhitton opened this issue Aug 26, 2016 · 0 comments
Open

Don't lock database when updating it #25

spwhitton opened this issue Aug 26, 2016 · 0 comments

Comments

@spwhitton
Copy link
Contributor

A Debian user makes the following suggestion:

Since the db update will effectively replace the db when done, wouldn't 
it make sense to copy the db to another file, do the update on that file 
and then over-write the original file at the end of the process, thus 
minimising the time the file needs to be locked?

The advantage of this is that it would permit using the old database while the update process is running.

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