Ensure destructive actions work independently of action.destructive_requires_name #1152
Labels
enhancement
Improves the status quo
:Load Driver
Changes that affect the core of the load driver such as scheduling, the measurement approach etc.
Milestone
There are a couple of destructive APIs in Elasticsearch that allow wildcards (i.e.
*
or_all
) by default (configurable with the settingaction.destructive_requires_name
). The default value for this setting will change with elastic/elasticsearch#66908. We have put a stop-gap solution in place in elastic/rally-teams#58 to set this value tofalse
for all clusters that are configured by Rally. However, we should ensure that we always use explicit names in destructive actions as not all cluster might be configured by Rally. The affected APIs are:Note: I am not aware that we add index block or use the open / close index APIs anywhere but I wanted to mention them for completeness.
For the delete index / data stream APIs which are supported out of the box by Rally should choose one the following approaches:
action.destructive_requires_name
tofalse
via the cluster settings API and reset it afterwards.When we have implemented support in Rally, we should also revert the stop gap solution implemented in elastic/rally-teams#58 after a short grace period.
The text was updated successfully, but these errors were encountered: