Skip to content

Reject delete index requests with a body#37501

Closed
jasontedor wants to merge 5 commits intoelastic:masterfrom
jasontedor:delete-index-with-a-body
Closed

Reject delete index requests with a body#37501
jasontedor wants to merge 5 commits intoelastic:masterfrom
jasontedor:delete-index-with-a-body

Conversation

@jasontedor
Copy link
Copy Markdown
Member

Delete index requests do not take a body, and it is misleading and arguably a bug that they currently do. We abhor this sort of leniency in Elasticsearch, so this commit removes the possibility for a delete index request to have a body.

Relates #8217

Delete index requests do not take a body, and it is misleading and
arguably a bug that they currently do. We abhor this sort of leniency in
Elasticsearch, so this commit removes the possibility for a delete index
request to have a body.
@jasontedor jasontedor added >bug :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. v7.0.0 v6.7.0 labels Jan 15, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features

Copy link
Copy Markdown
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasontedor
Copy link
Copy Markdown
Member Author

Superseded by #37504

@jasontedor jasontedor closed this Jan 15, 2019
@jasontedor jasontedor deleted the delete-index-with-a-body branch January 15, 2019 21:56
@jasontedor
Copy link
Copy Markdown
Member Author

I decided to solve this once and for all and opened #37504.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. v6.7.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants