-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
The ES Security Plugin does wildcard expansion in IndicesAndAliasesResolver on the coordinating node of the request. During this process, it rewrites the request to not include wildcards but only concrete indices. There are a few known problems with this approach, for example see #45171 (comment).
This issue is acknowledging another limitation of this approach. The wildcard expansion and the actual handling of the request for the expanded concrete indices could happen on different cluster state versions. For example, a wildcard expression is expanded to an index that is subsequently removed, but before the actual handling of the request takes place. This will generate an index missing exception (assuming ignore_unavailable=false). The same result is not possible with Security turned off because wildcard expansion and request handling work on the same cluster state version.
Causes #45652