diff --git a/docs/reference/docs/data-replication.asciidoc b/docs/reference/docs/data-replication.asciidoc index 9503b6b6bb29d..2c1a16c81d011 100644 --- a/docs/reference/docs/data-replication.asciidoc +++ b/docs/reference/docs/data-replication.asciidoc @@ -28,6 +28,8 @@ Every indexing operation in Elasticsearch is first resolved to a replication gro typically based on the document ID. Once the replication group has been determined, the operation is forwarded internally to the current _primary shard_ of the group. This stage of indexing is referred to as the _coordinating stage_. +image::images/data_processing_flow.png[An example of a basic write model.] + The next stage of indexing is the _primary stage_, performed on the primary shard. The primary shard is responsible for validating the operation and forwarding it to the other replicas. Since replicas can be offline, the primary is not required to replicate to all replicas. Instead, Elasticsearch maintains a list of shard copies that should diff --git a/docs/reference/images/data_processing_flow.png b/docs/reference/images/data_processing_flow.png new file mode 100644 index 0000000000000..9b2f58ad61166 Binary files /dev/null and b/docs/reference/images/data_processing_flow.png differ