|
@@ -119,9 +119,13 @@ command:
|
|
|
$ curl -XPUT "localhost:9200/_snapshot/my_backup/snapshot_1?wait_for_completion=true"
|
|
|
-----------------------------------
|
|
|
|
|
|
-The `wait_for_completion` parameter specifies whether or not the request should return immediately or wait for snapshot
|
|
|
-completion. By default snapshot of all open and started indices in the cluster is created. This behavior can be changed
|
|
|
-by specifying the list of indices in the body of the snapshot request.
|
|
|
+The `wait_for_completion` parameter specifies whether or not the request should return immediately after snapshot
|
|
|
+initialization (default) or wait for snapshot completion. During snapshot initialization, information about all
|
|
|
+previous snapshots is loaded into the memory, which means that in large repositories it may take several seconds (or
|
|
|
+even minutes) for this command to return even if the `wait_for_completion` parameter is set to `false`.
|
|
|
+
|
|
|
+By default snapshot of all open and started indices in the cluster is created. This behavior can be changed by
|
|
|
+specifying the list of indices in the body of the snapshot request.
|
|
|
|
|
|
[source,js]
|
|
|
-----------------------------------
|