Skip to content

Commit

Permalink
[DOCS] Add note that write indices are not replicated (#82997) (#83280)
Browse files Browse the repository at this point in the history
* [DOCS] Add note that write indices are not replicated

* Clarify note about is_write_index

* Clarify leader aliases with is_write_index

Co-authored-by: Henning Andersen <[email protected]>

Co-authored-by: Henning Andersen <[email protected]>

Co-authored-by: Henning Andersen <[email protected]>
  • Loading branch information
Adam Locke and henningandersen authored Jan 28, 2022
1 parent 5fce278 commit 601e001
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/ccr/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ You can't manually modify a follower index's mappings or aliases. To make
changes, you must update the leader index. Because they are read-only, follower
indices reject writes in all configurations.

NOTE: Although changes to aliases on the leader index are replicated to follower
indices, write indices are ignored. Follower indices can't accept direct writes,
so if any leader aliases have `is_write_index` set to `true`, that value is
forced to `false`.

For example, you index a document named `doc_1` in Datacenter A, which
replicates to Datacenter B. If a client connects to Datacenter B and attempts
to update `doc_1`, the request fails. To update `doc_1`, the client must
Expand Down

0 comments on commit 601e001

Please sign in to comment.