Return snapshots in progress when ignore_unavailable is set to true in Get Snapshots API #68090
Labels
>bug
:Distributed/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed
Meta label for distributed team
Elasticsearch version (
bin/elasticsearch --version
): master,7.5.1,6.8.2Plugins installed: []
JVM version (
java -version
): 14OS version (
uname -a
if on a Unix-like system): macos 10.13.6Description of the problem including expected versus actual behavior:
When executing Get Snapshots API, if the target snapshot does not exist, and
ignore_unavailable
is set totrue
, then the API returns all the snapshots which are in progress.Steps to reproduce:
ignore_unavailable
to truethen you can see the
snap1
existed in the response.The text was updated successfully, but these errors were encountered: