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

Server restart might mangle an internal database #29

Open
wtlgo opened this issue Mar 30, 2024 · 0 comments
Open

Server restart might mangle an internal database #29

wtlgo opened this issue Mar 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wtlgo
Copy link

wtlgo commented Mar 30, 2024

Describe the bug
If the server restarts or crashes before the plugin can add all heads to the database it never tries to finish the download. Since the plugin does not specifically check the integrity of added data and instead just checks that there is some data in the DB, and the server admin has no command or any other means to resume the download, it becomes very inconvenient.

To Reproduce

  1. Clear the "plugins" folder.
  2. Add the plugin.
  3. Start the server.
  4. Restart the server before it says "Finished inserting all heads into the data file!"
  5. Suffer

Expected behavior
It would be nice if there was a way to resume the download process, or plugin checked the integrity of downloaded data and resumed it automatically.

@wtlgo wtlgo added the bug Something isn't working label Mar 30, 2024
@kiranhart kiranhart self-assigned this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants