Browse Source

Revert "Change the default of `include_global_state` from true to false."

This reverts commit 052a62250ca880f4e5d2746822ac58139b36efda.
Lee Hinman 9 years ago
parent
commit
762bbdbd0c

+ 1 - 1
core/src/main/java/org/elasticsearch/action/admin/cluster/snapshots/restore/RestoreSnapshotRequest.java

@@ -57,7 +57,7 @@ public class RestoreSnapshotRequest extends MasterNodeRequest<RestoreSnapshotReq
     private String renamePattern;
     private String renameReplacement;
     private boolean waitForCompletion;
-    private boolean includeGlobalState = false;
+    private boolean includeGlobalState = true;
     private boolean partial = false;
     private boolean includeAliases = true;
     private Settings settings = EMPTY_SETTINGS;

+ 0 - 5
docs/reference/migration/migrate_5_0/settings.asciidoc

@@ -277,8 +277,3 @@ should be used instead.
 
 The setting `bootstrap.mlockall` has been renamed to
 `bootstrap.memory_lock`.
-
-==== Snapshot settings
-
-The default setting `include_global_state` for taking and restoring snapshots
-has been changed from `true` to `false`.