OpenSearch/docs/reference
Tanguy Leroux 742fa818b8
Add Pause/Resume Auto Follower APIs (#47510) (#47904)
This commit adds two APIs that allow to pause and resume
CCR auto-follower patterns:

// pause auto-follower
POST /_ccr/auto_follow/my_pattern/pause

// resume auto-follower
POST /_ccr/auto_follow/my_pattern/resume

The ability to pause and resume auto-follow patterns can be
useful in some situations, including the rolling upgrades of
cluster using a bi-directional cross-cluster replication scheme
(see #46665).

This commit adds a new active flag to the AutoFollowPattern
and adapts the AutoCoordinator and AutoFollower classes so
that it stops to fetch remote's cluster state when all auto-follow
patterns associate to the remote cluster are paused.

When an auto-follower is paused, remote indices that match the
pattern are just ignored: they are not added to the pattern's
followed indices uids list that is maintained in the local cluster
state. This way, when the auto-follow pattern is resumed the
indices created in the remote cluster in the meantime will be
picked up again and added as new following indices. Indices
created and then deleted in the remote cluster will be ignored
as they won't be seen at all by the auto-follower pattern at
resume time.

Backport of #47510 for 7.x
2019-10-13 09:22:51 +02:00
..
aggregations DocValueFormat implementation for date range fields (#47472) (#47605) 2019-10-04 17:21:17 -04:00
analysis Fixed sample code for minhash (#46385) 2019-09-12 13:29:44 -04:00
cat [DOCS] Document `bytes` and `time` params in cat API docs (#47672) (#47854) 2019-10-10 09:48:40 -04:00
ccr Add Pause/Resume Auto Follower APIs (#47510) (#47904) 2019-10-13 09:22:51 +02:00
cluster [DOCS] Comment out tag in Task Managment API Docs so it isn't rendered. (#47618) 2019-10-05 12:48:51 -04:00
commands Allow truncation of clean translog (#47866) 2019-10-11 15:48:12 +01:00
docs [DOCS] Backporting API ref reformatting for document APIs (#47631) 2019-10-06 22:25:21 -07:00
graph [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
high-availability [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
how-to [DOCS] Reformat refresh API docs (#46667) (#47589) 2019-10-04 13:50:09 -04:00
ilm [DOCS] Reformat get snapshot lifecycle policy API docs (#47827) (#47930) 2019-10-11 13:00:48 -04:00
images DOC: Update section for SQuirrel SQL 4.0.0 (#46726) 2019-09-16 12:27:31 +03:00
index-modules [DOCS] Reformat flush API docs (#46875) (#47230) 2019-09-30 08:42:52 -04:00
indices [DOCS] Reformat reload search analyzers API docs (#47824) (#47907) 2019-10-11 09:40:49 -04:00
ingest Fix bug in ingest node documentation (#45589) (#47750) 2019-10-08 17:23:38 -05:00
licensing [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
mapping Mention ip fields in the global ordinals docs. (#47045) 2019-09-24 12:39:11 -07:00
migration Add realm uniqueness enforcement in 7.4 migration docs (#47487) 2019-10-03 11:03:29 +03:00
ml [DOCS] Adds supported fields section to the PUT DFA API description (#47842) 2019-10-10 12:42:54 +02:00
modules More bootstrap docs tweaks (#47809) 2019-10-10 09:55:30 +01:00
monitoring [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
query-dsl Add explanations to script score queries (#46693) (#47548) 2019-10-03 21:05:05 -07:00
release-notes Remove unmerged changes from release notes (#47732) 2019-10-08 18:14:41 +03:00
rest-api [DOCS] Document `bytes` and `time` params in cat API docs (#47672) (#47854) 2019-10-10 09:48:40 -04:00
rollup [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
scripting Switch stored script example to script_score query (#47691) 2019-10-07 17:08:57 -07:00
search Fix tag in the search request timeout option docs (#47776) 2019-10-10 10:35:44 +02:00
settings [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
setup More bootstrap docs tweaks (#47809) 2019-10-10 09:55:30 +01:00
sql SQL: Implement DATEADD function (#47747) 2019-10-10 16:22:13 +02:00
testing Uppercasing some docs section title (#37781) 2019-01-24 22:54:55 +01:00
transform [Transform] move root endpoint to _transform with BWC layer (#47127) (#47682) 2019-10-08 08:59:01 +02:00
upgrade Clarify that you cannot abort an upgrade (#47342) 2019-10-02 09:29:10 +01:00
vectors [DOCS] Replace "// CONSOLE" comments with [source,console] (#46159) (#46332) 2019-09-05 10:11:25 -04:00
aggregations.asciidoc
analysis.asciidoc [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
api-conventions.asciidoc [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
cat.asciidoc [DOCS] Document cat tasks API (#47321) (#47375) 2019-10-01 12:22:50 -04:00
cluster.asciidoc [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
data-rollup-transform.asciidoc [DOCS] Adds transforms to Elasticsearch book (#46846) (#47055) 2019-09-25 08:11:37 -07:00
docs.asciidoc [DOCS] Remove heading offsets for REST APIs (#44568) 2019-07-19 14:36:06 -04:00
frozen-indices.asciidoc [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
getting-started.asciidoc [DOCS] [2 of 5] Change // CONSOLE comments to [source,console] (#46353) (#46502) 2019-09-09 13:38:14 -04:00
glossary.asciidoc [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
gs-index.asciidoc
high-availability.asciidoc [DOCS] Remove leveloffset for CCR docs (#46818) 2019-09-18 09:44:43 -04:00
how-to.asciidoc
index-modules.asciidoc [DOCS] Reformat refresh API docs (#46667) (#47589) 2019-10-04 13:50:09 -04:00
index.asciidoc [DOCS] Adds security content in the Elasticsearch Reference (#47596) 2019-10-04 13:11:05 -07:00
index.x.asciidoc
indices.asciidoc [DOCS] Reorder index APIs alphabetically (#46981) (#47402) 2019-10-01 17:07:28 -04:00
ingest.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
intro.asciidoc [DOCS] Edited title/subtitle. (#43552) 2019-06-24 15:31:19 -07:00
mapping.asciidoc [DOCS] Correct deprecation note in mapping docs (#47656) 2019-10-07 09:37:52 -04:00
modules.asciidoc Retitle and relocate cross-cluster search docs (#45608) 2019-08-15 16:28:04 -04:00
query-dsl.asciidoc [SPATIAL] Backport new ShapeFieldMapper and ShapeQueryBuilder to 7x (#45363) 2019-08-14 16:35:10 -05:00
redirects.asciidoc [DOCS] Reformat flush API docs (#46875) (#47230) 2019-09-30 08:42:52 -04:00
release-notes.asciidoc [DOCS] Adds machine learning PRs to release notes (#46564) 2019-09-11 08:30:59 -07:00
scripting.asciidoc [DOCS] Move 'Scripting' section to top-level navigation. (#42939) 2019-06-06 10:46:02 -04:00
search.asciidoc Use snake casing for document field (#45432) 2019-09-19 14:27:00 +02:00
setup.asciidoc [ML][Data Frame] adding dynamic cluster setting for failure retries (#44577) (#44639) 2019-07-19 16:17:39 -05:00
testing.asciidoc
upgrade.asciidoc Clarify that you cannot abort an upgrade (#47342) 2019-10-02 09:29:10 +01:00