Skip to content

Commit 3865435

Browse files
committed
Docs test fix, wait for shards active.
(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
1 parent e959dba commit 3865435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/ccr/apis/follow-request-body.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
5252
[source,js]
5353
--------------------------------------------------
54-
PUT /follower_index/_ccr/follow
54+
PUT /follower_index/_ccr/follow?wait_for_active_shards=1
5555
{
5656
"remote_cluster" : "remote_cluster",
5757
"leader_index" : "leader_index"

0 commit comments

Comments
 (0)