-
Notifications
You must be signed in to change notification settings - Fork 21
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
DOC: Note about stopping container and using previous database state needs update/ or it's inaccurate #1544
Comments
@jgehrcke would you mind adding your thoughts here? I think I've experienced something similar. |
I'd need to test things out manually to reply with confidence. For now I'd just like to acknowledge that it may very well be that docs got out of sync with actual behavior. Volumes are not generally needed for keeping state: as far as the quoted docs section is concerned, the intention seemingly was that state is kept via only stopping containers (not removing them), i.e. the database process would just continue where previously left off. The After pressing ctrl+c you can find via
Good find, sorry for the confusion. That's expected because this page is served from an in-memory cache which is not wiped by the wipe-db API endpoint. After a short while (a few minutes max) the data should disappear; that cache is periodically rebuilt from the database. |
Yes thanks, the containers don't disappear, but the data are gone. At least they were not shown. That's why I did this: #1559 |
In the documentation, there is this note under Makefile targets:
After stopping the container with Ctrl+C, and then entering
make run-app
on the terminal, the database is not reusing previous data, it is empty. Or, am I misunderstanding the note?On the other hand, when if I hit
But "benchmark names" area:http://127.0.0.1:5000/api/wipe-db
, the home page seems to have no "CI runs", it's empty. But looking at the section of "benchmarks by name", the names and results of benchmarks are still available. So, this is not clearing all database tables.So, after clicking on
http://127.0.0.1:5000/api/wipe-db
:The text was updated successfully, but these errors were encountered: