Skip to content

Commit e603c40

Browse files
committed
strong-consistency.md: wrap the paragraph.
1 parent 55a3d23 commit e603c40

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

strong-consistency.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ summary: CockroachDB implements consistent replication via majority consensus be
44
toc: false
55
---
66

7-
CockroachDB replicates your data multiple times and guarantees consistency between replicas using the [Raft consensus algorithm](https://raft.github.io/), a popular alternative to [Paxos](http://research.microsoft.com/en-us/um/people/lamport/pubs/paxos-simple.pdf). A consensus algorithm guarantees that any majority of replicas together can always provide the most recently written data on reads. Writes must reach a majority of replicas (2 out of 3 by default) before they are considered committed. If a write does not reach a majority of replicas, it will fail, not be permanent, and will never be visible to readers. This means that clients always see serializable consistency when viewing data (i.e., stale reads are not possible).
7+
CockroachDB replicates your data multiple times and guarantees consistency between replicas
8+
using the [Raft consensus algorithm](https://raft.github.io/), a popular alternative to
9+
[Paxos](http://research.microsoft.com/en-us/um/people/lamport/pubs/paxos-simple.pdf).
10+
A consensus algorithm guarantees that any majority of replicas together can always provide
11+
the most recently written data on reads. Writes must reach a majority of replicas (2 out of
12+
3 by default) before they are considered committed. If a write does not reach a majority of
13+
replicas, it will fail, not be permanent, and will never be visible to readers. This means
14+
that clients always see serializable consistency when viewing data (i.e., stale reads are
15+
not possible).
816

917
- No downtime for server restarts, machine failures, or datacenter outages
1018
- Local or wide-area replication with no stale reads on failover

0 commit comments

Comments
 (0)