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

Have to drop a series twice for it to work #1761

Closed
hawson opened this issue Feb 26, 2015 · 4 comments · Fixed by #1767
Closed

Have to drop a series twice for it to work #1761

hawson opened this issue Feb 26, 2015 · 4 comments · Fixed by #1767
Assignees

Comments

@hawson
Copy link

hawson commented Feb 26, 2015

Dropping a series appears to take two tries to actually drop.

Given these series:

> show series
----                            ----    ----
netapp.srv.netin                        srv
----                            ----    ----
netapp.srv.netout                   srv

I have to drop them twice to actually remove them:

> DROP SERIES FROM netapp.srv.netout
ERR: failed to remove series from index
> DROP SERIES FROM netapp.srv.netout
>

> show series
----                            ----    ----
netapp.srv.netin                        srv
----                            ----    ----
----                            ----    ----
@otoolep
Copy link
Contributor

otoolep commented Feb 26, 2015

Can you try repro'ing this using curl? It would be helpful to rule out the shell.

@hawson
Copy link
Author

hawson commented Feb 26, 2015

Same thing:

$ curl -G http://influxdbhost:8086/query  --data-urlencode 'db=storage' --data-urlencode 'q=DROP SERIES FROM netapp.srv.netin'
{"results":[{"error":"failed to remove series from index"}]}
$ curl -G http://influxdbhost:8086/query  --data-urlencode 'db=storage' --data-urlencode 'q=DROP SERIES FROM netapp.srv.netin'
{"results":[{}]}

@hawson
Copy link
Author

hawson commented Feb 26, 2015

This is off git version 2e5e225.

@otoolep
Copy link
Contributor

otoolep commented Feb 26, 2015

@corylanou

@corylanou corylanou self-assigned this Feb 26, 2015
@corylanou corylanou removed the review label Feb 27, 2015
corylanou added a commit that referenced this issue Feb 27, 2015
mark-rushakoff pushed a commit that referenced this issue Jan 11, 2019
* First pass at component set

* REVERT THIS COMMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants