Skip to content

Commit b04d780

Browse files
committed
docs: import CloudNativePG main
1 parent 323b6a6 commit b04d780

3 files changed

Lines changed: 16 additions & 3 deletions

File tree

‎website/docs/quickstart.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ metadata:
9999
spec:
100100
instances: 3
101101

102+
postgresql:
103+
synchronous:
104+
method: any
105+
number: 1
106+
102107
storage:
103108
size: 1Gi
104109
```

‎website/docs/replication.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,12 @@ CloudNativePG supports both
125125
By default, synchronous replication pauses write operations if the required
126126
number of standby nodes for WAL replication during transaction commits is
127127
unavailable. This behavior prioritizes data durability and aligns with
128-
PostgreSQL DBA best practices. However, if self-healing is a higher priority
128+
PostgreSQL DBA best practices. As a general rule, plan for synchronous
129+
replication in clusters with at least three instances, to tolerate the loss
130+
of one of them. However, if self-healing is a higher priority
129131
than strict data durability in your setup, this setting can be adjusted. For
130-
details on managing this behavior, refer to the [Data Durability and Synchronous Replication](#data-durability-and-synchronous-replication)
132+
details on managing this behavior, refer to the
133+
[Data Durability and Synchronous Replication](#data-durability-and-synchronous-replication)
131134
section.
132135
:::
133136

‎website/docs/samples/cluster-example.yaml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ metadata:
44
name: cluster-example
55
spec:
66
instances: 3
7-
7+
8+
postgresql:
9+
synchronous:
10+
method: any
11+
number: 1
12+
813
storage:
914
size: 1Gi
1015

0 commit comments

Comments
 (0)