Skip to content

Commit

Permalink
Docs test fix, wait for shards active.
Browse files Browse the repository at this point in the history
(a restore needs to be complete, which happens in the background and
by default the ccr put follow api doesn't wait for this)

(this was a recent change and the pr that added this docs test,
did not include this change)

Relates to #37917
  • Loading branch information
martijnvg committed Jan 30, 2019
1 parent e959dba commit 3865435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/ccr/apis/follow-request-body.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
[source,js]
--------------------------------------------------
PUT /follower_index/_ccr/follow
PUT /follower_index/_ccr/follow?wait_for_active_shards=1
{
"remote_cluster" : "remote_cluster",
"leader_index" : "leader_index"
Expand Down

0 comments on commit 3865435

Please sign in to comment.