Pause a cross-cluster replication follower index. The follower index will not fetch any additional operations from the leader index. You can resume following with the resume follower API. You can pause and resume a follower index to change the configuration of the following task.
manage_ccrThe period to wait for a connection to the master node.
If the master node is not available before the timeout expires, the request fails and returns an error.
It can also be set to -1 to indicate that the request should never timeout.
POST /follower_index/_ccr/pause_follow
resp = client.ccr.pause_follow(
index="follower_index",
)
const response = await client.ccr.pauseFollow({
index: "follower_index",
});
response = client.ccr.pause_follow(
index: "follower_index"
)
$resp = $client->ccr()->pauseFollow([
"index" => "follower_index",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/follower_index/_ccr/pause_follow"
client.ccr().pauseFollow(p -> p
.index("follower_index")
);
{
"acknowledged" : true
}