Make feature reset compatible with action.destructive_requires_name: false #72363
Labels
:Core/Infra/Core
Core issues without another label
>enhancement
Team:Core/Infra
Meta label for core/infra team
It has long been best practice to set
action.destructive_requires_name: true
and that is becoming the default in 8.0.Currently if an end user runs the feature reset API they are likely to see this error response:
This problem occurs because the feature reset API is trying to delete wildcarded index patterns. The solution is to set
action.destructive_requires_name: false
, which is what our integration test suites do to avoid this problem, but is not great UX for an end user (and the error response does not make the solution clear).It would be much friendlier to resolve the wildcard patterns to a list of concrete indices as suggested in point 2 of #71178 (comment), or else bypass the value of
action.destructive_requires_name
in some other way within the internals of the feature reset API implementation.The text was updated successfully, but these errors were encountered: