I have a snapshot that failed due to "Indices don't have primary shards [idx-2018-02, idx-2017-12]".
According to the docs i should be able to restore the successfully snapshotted shards by setting partial to true.
But if i do:
curl -XPOST "server:9200/_snapshot/backups/snp-2018-03-05/_restore?pretty" -d '
{
"include_global_state": true,
"partial": true
}
'
I get:
unsupported snapshot state [FAILED]