Open PIT API incorrectly suggests using allow_partial_search_results if a shard is unavailable #103165
Labels
>bug
priority:normal
A label for assessing bug priority to be used by ES engineers
:Search Foundations/Search
Catch all for Search Foundations
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Elasticsearch Version
8.11.1
Installed Plugins
No response
Java Version
bundled
OS Version
Ubuntu 20.04.6 LTS (Elastic Cloud)
Problem Description
Open PIT requires for all shards involved to be available.
If a shard is unavailable, the error response will suggest using
allow_partial_search_results
to bypass the error.Request:
POST kibana_sample_data_flights*/_pit?keep_alive=1m
Response:
This is misleading as it is not currently possible/supported to use
allow_partial_search_results
when opening a PIT.Related: #96775
Steps to Reproduce
POST <index>/_pit?keep_alive=1m
Logs (if relevant)
Full Errors+Stack Traces:
8.7.1
8.11.1
The text was updated successfully, but these errors were encountered: