-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Labels
Description
How to reproduce:
- Specify the
--force_delete_index=True
option - Expected result: the index is deleted
- Actual result: a
400 Bad Request error
is returned by Elasticsearch, the index is not deleted
Fix:
- Remove
?refresh=true
from the url variable in function delete_index
- url = "%s/%s?refresh=true" % (tornado.options.options.es_url, idx_name)
+ url = "%s/%s" % (tornado.options.options.es_url, idx_name)