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

Ensure that owm regendb restores the pre-existing DB if the command is aborted. #29

Open
mwatts15 opened this issue Nov 22, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mwatts15
Copy link
Contributor

The owm regendb command deletes the existing indexed database before creating a new one. If there's an interruption in generating the new database, such as by the user typing CTRL-C, the old database is not available, which can be surprising given that canceling would generally be expected to leave things in their state from before the whole process began. To fix this issue, ensure the original database is restored in case regenerating the database fails.

@mwatts15 mwatts15 added bug Something isn't working enhancement New feature or request good first issue Good for newcomers and removed bug Something isn't working labels Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant