-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[0.9.1] Drop database deletes data/ directory #3330
Comments
beckettsean
changed the title
Drop database delete files from ALL databases
[0.9.1] Drop database deletes data/ directory
Jul 15, 2015
One for @dgnorton, @jwilder and @benbjohnson too. |
Fixed by #3335 |
@mjdesa -- we don't usually close issues until a PR is merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On master (56d3add), when I issue a "DROP DATABASE name", the folder ~/.influxdb/data is removed, meaning all data files are removed. So after a restart (because influxdb keep some file opened) I've lost all data from all databases.
Version 0.9.1 is also affected.
Step to reproduce:
rm -fr ~/.influxdb
)CREATE DATABASE db1
andCREATE DATABASE db2
cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000
, from the doc)SHOW MEASUREMENTS
that writes succeed.~/.influxdb/data
DROP DATABASE db1
~/.influxdb/data
no longer exists ! (so db2's file are deleted from disk)SHOW MEASUREMENTS
return nothing)The text was updated successfully, but these errors were encountered: