Browse Source

Docs: Add warning about allow_primary to the cluster reroute docs

Closes #12503
Clinton Gormley 10 years ago
parent
commit
db541d6fbe
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docs/reference/cluster/reroute.asciidoc

+ 5 - 0
docs/reference/cluster/reroute.asciidoc

@@ -70,3 +70,8 @@ The commands supported are:
     allocate the shard to. It also accepts `allow_primary` flag to
     explicitly specify that it is allowed to explicitly allocate a primary
     shard (might result in data loss).
+
+WARNING: The `allow_primary` parameter will force a new _empty_ primary shard
+to be allocated *without any data*. If a node which has a copy of the original
+primary shard (including data) rejoins the cluster later on, that data will be
+deleted: the old shard copy will be replaced by the new live shard copy.