Resume a follower Added in 6.5.0
Resume a cross-cluster replication follower index that was paused. The follower index could have been paused with the pause follower API. Alternatively it could be paused due to replication that cannot be retried due to failures during following tasks. When this API returns, the follower index will resume fetching operations from the leader index.
Path parameters
-
The name of the follow index to resume following.
Body
-
max_read_request_size string
-
max_retry_delay string
A duration. Units can be
nanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value. -
max_write_buffer_count number
-
max_write_buffer_size string
-
max_write_request_size string
-
read_poll_timeout string
A duration. Units can be
nanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
curl \
-X POST http://api.example.com/{index}/_ccr/resume_follow \
-H "Content-Type: application/json" \
-d '{"max_outstanding_read_requests":42.0,"max_outstanding_write_requests":42.0,"max_read_request_operation_count":42.0,"max_read_request_size":"string","max_retry_delay":"string","max_write_buffer_count":42.0,"max_write_buffer_size":"string","max_write_request_operation_count":42.0,"max_write_request_size":"string","read_poll_timeout":"string"}'
{
"max_outstanding_read_requests": 42.0,
"max_outstanding_write_requests": 42.0,
"max_read_request_operation_count": 42.0,
"max_read_request_size": "string",
"max_retry_delay": "string",
"max_write_buffer_count": 42.0,
"max_write_buffer_size": "string",
"max_write_request_operation_count": 42.0,
"max_write_request_size": "string",
"read_poll_timeout": "string"
}
{
"acknowledged": true
}