Skip to content

Commit

Permalink
correct phrasing issues in text (#432)
Browse files Browse the repository at this point in the history
Co-authored-by: Badrish Chandramouli <[email protected]>
  • Loading branch information
vazois and badrishc authored Jun 6, 2024
1 parent eff8249 commit fcf880a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions website/docs/cluster/replication.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ slug: replication

Garnet cluster support asynchronous replication following a simple leader-follower (i.e. primary-replica) model.
This allows the replica to be exact copies of the primary.
Replication can be leveraged to scale reads and mitigate the effects of failures primary failures by promoting replicas to primary.
Replication can be leveraged to scale reads and mitigate the effects of primary failures by promoting replicas to primary.
In this page, we present an overview of the replication protocol and discuss the different persistent/consistency options available to the cluster operator.

# Garnet Replication Properties
Expand All @@ -18,14 +18,9 @@ Garnet cluster implements replication through log shipping.
Primaries utilize the Append-Only-File (AOF) to record insert/update operations.
A dedicated background task iterates through the log pages and transmits them in bulk to the corresponding replica.
Replicas will iterate through the received log pages, replay all insert/update operations in order, and generate their own AOF.
When the cluster operator issues a checkpoint

The cluster operator can issue a checkpoint to any primary.
The act of taking a checkpoint

Primaries are free to take arbitrary checkpoints.
The act of taking a checkpoint is propagated through the AOF log to the corresponding replica.
As a side effect a given replica will also take and maintain its own checkpoints.
Primaries are generally free to take arbitrary checkpoints.
When the primary takes a checkpoint, it will insert a checkpoint marker into the AOF.
As a side effect of this, when any of the attached replicas receive the corresponding records, it will initiate its own checkpoint.
For this reason, an exact version of the data is identified from the following triplet:

``` bash
Expand Down

0 comments on commit fcf880a

Please sign in to comment.