-
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
data files and series exist after drop database #3049
Comments
The result of "SHOW MEASUREMENTS" exists also. |
Same issue here |
Since clustering is in alpha-state, not all operations are support on clusters. Please follow #3009 -- when this issue is closed, |
Actually we have this issue on a single node |
Can you please show me an entire sequence of https://github.com/influxdb/influxdb/blob/master/CONTRIBUTING.md#bug-reports |
Hi, Here is the list of commands I've done : curl -G http://localhost:8086/query --data-urlencode "q=CREATE DATABASE mydb" curl -G http://localhost:8086/query --data-urlencode "q=CREATE RETENTION POLICY myrp ON mydb DURATION 365d REPLICATION 1 DEFAULT" curl -d '{"database" : "mydb, retentionPolicy" : "myrp", "points": [{"measurement":"cpu","tags":{"region":"useast","host":"server_1","service":"redis"},"fields":{"value":61}}]}' -H "Content-Type: application/json" http://localhost:8086/write curl -G http://localhost:8086/query --data-urlencode "q=DROP DATABASE mydb" curl -G http://localhost:8086/query --data-urlencode 'db=mydb' --data-urlencode 'q=SELECT * from cpu' curl -G http://localhost:8086/query --data-urlencode "q=CREATE DATABASE mydb" Here is the problem : curl -G http://localhost:8086/query --data-urlencode 'db=mydb' --data-urlencode 'q=SHOW MEASUREMENTS' No data in there though : Thanks a lot, |
@maxcanada -- the JSON in your supplied "write" is not valid. |
Fixed by #3090 |
Thanks @maxcanada for the bug report. |
@otoolep --DROP MEASUREMENT will not work when my MEASUREMENT contains dot, result show: |
@jasper-zhang you must double-quote measurement names that contain a period. |
The original issue has been addressed and 0.9.1 will have the fix. |
My version is 0.9.0, and I created a cluster of 3 servers. After I create a db and insert some data to it, I drop the db. I find the db files in the server which I curl the drop command are deleted, but data files in other two servers exist still. Otherwise, I find the result of "show series" is still seen !!
The text was updated successfully, but these errors were encountered: