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

Any Request default method is delete #65

Closed
wojons opened this issue Jun 5, 2013 · 6 comments
Closed

Any Request default method is delete #65

wojons opened this issue Jun 5, 2013 · 6 comments

Comments

@wojons
Copy link

wojons commented Jun 5, 2013

not sure if its just my elastichead or all of them. but since the default option for any request tab is blank with the method delete i have deleted my entire database, luckly it was test data that i can push from a script.

@mobz
Copy link
Owner

mobz commented Jun 5, 2013

Not sure why that is happening, it would typically default to POST, however, since that's a possibly a nasty problem I now specifically set the default to GET
fixed by 0c2ac0b

@mobz mobz closed this as completed Jun 5, 2013
@wojons
Copy link
Author

wojons commented Jun 5, 2013

thanks for the quick fix would not want someone else to wipe there whole db, mine was 967k documents.

@bvallant
Copy link

bvallant commented Feb 5, 2014

Guess that's still an issue somehow - if your last request was a DELETE and you come back it will be DELETE again, especially if you fill something in the body you do not really check what the request type is :(

(mine was 300k documents)

@wojons
Copy link
Author

wojons commented Feb 5, 2014

@lazerscience yeah i should have come back to say that i was still seeing this issue and i am so sorrry i am guessing u did not have any backups of that data ?

@bvallant
Copy link

bvallant commented Feb 5, 2014

Of course not... But I'm just recrawling them 😃 So I'll be fine....

Just noticed again that it is far too easy to issue a DELETE by accident...

@wojons
Copy link
Author

wojons commented Feb 5, 2014

Yeah since then i just dump my database regularly now. My data was system metrics an so on so it was lost for ever.

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

No branches or pull requests

3 participants