Closed Phygon closed 4 years ago
With ElasticSearch 5.x, the backup fails, because the parameter "wait for completion" is only valid for creating or restoring a snapshot. When using it with -XGET or -XDELETE, the following error is shown:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_snapshot/dsb___GLOBAL__/dump] contains unrecognized parameter: [wait_for_completion]"}],"type":"illegal_argument_exception","reason":"request [/_snapshot/dsb___GLOBAL__/dump] contains unrecognized parameter: [wait_for_completion]"},"status":400}
With ElasticSearch 5.x, the backup fails, because the parameter "wait for completion" is only valid for creating or restoring a snapshot. When using it with -XGET or -XDELETE, the following error is shown:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_snapshot/dsb___GLOBAL__/dump] contains unrecognized parameter: [wait_for_completion]"}],"type":"illegal_argument_exception","reason":"request [/_snapshot/dsb___GLOBAL__/dump] contains unrecognized parameter: [wait_for_completion]"},"status":400}