mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Use CcrRepository
to init follower index (#35719)
This commit modifies the put follow index action to use a CcrRepository when creating a follower index. It routes the logic through the snapshot/restore process. A wait_for_active_shards parameter can be used to configure how long to wait before returning the response.
This commit is contained in:
parent
d05a4b9d14
commit
00ace369af
31 changed files with 488 additions and 169 deletions
|
@ -20,6 +20,8 @@ include-tagged::{doc-tests-file}[{api}-request]
|
|||
<1> The name of the remote cluster alias.
|
||||
<2> The name of the leader in the remote cluster.
|
||||
<3> The name of the follower index that gets created as part of the put follow API call.
|
||||
<4> The number of active shard copies to wait for before the put follow API returns a
|
||||
response, as an `ActiveShardCount`
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
==== Response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue