Skip to content

Commit

Permalink
Clarify data replication docs to mention in-sync replicas (#70604)
Browse files Browse the repository at this point in the history
Clarifies primary shard flow for handling write requests to indicate that all in-sync replicas must ack a write.
  • Loading branch information
jhalterman authored and DaveCTurner committed Mar 19, 2021
1 parent c026192 commit 9edb151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/docs/data-replication.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The primary shard follows this basic flow:
. Execute the operation locally i.e. indexing or deleting the relevant document. This will also validate the content of fields
and reject if needed (Example: a keyword value is too long for indexing in Lucene).
. Forward the operation to each replica in the current in-sync copies set. If there are multiple replicas, this is done in parallel.
. Once all replicas have successfully performed the operation and responded to the primary, the primary acknowledges the successful
. Once all in-sync replicas have successfully performed the operation and responded to the primary, the primary acknowledges the successful
completion of the request to the client.

Each in-sync replica copy performs the indexing operation locally so that it has a copy. This stage of indexing is the
Expand Down

0 comments on commit 9edb151

Please sign in to comment.