@@ -179,29 +179,27 @@ PostgreSQL documentation
179
179
<refsect1>
180
180
<title>Notes</title>
181
181
<para>
182
- When disabling or enabling checksums in a replication setup of multiple
183
- clusters, it is recommended to stop all the clusters before doing
184
- the switch to all the clusters consistently. When using a replication
185
- setup with tools which perform direct copies of relation file blocks
186
- (for example <xref linkend="app-pgrewind"/>), enabling or disabling
187
- checksums can lead to page corruptions in the shape of incorrect
188
- checksums if the operation is not done consistently across all nodes.
189
- Destroying all the standbys in the setup first, enabling or disabling
190
- checksums on the primary and finally recreating the standbys from
191
- scratch is also safe.
182
+ Enabling checksums in a large cluster can potentially take a long time.
183
+ During this operation, the cluster or other programs that write to the
184
+ data directory must not be started or else data loss may occur.
192
185
</para>
193
186
<para>
194
- If <application>pg_checksums</application> is aborted or killed in
195
- its operation while enabling or disabling checksums, the cluster
196
- will have the same state with respect of checksums as before the
197
- operation and <application>pg_checksums</application> needs to be
198
- restarted.
187
+ When using a replication setup with tools which perform direct copies
188
+ of relation file blocks (for example <xref linkend="app-pgrewind"/>),
189
+ enabling or disabling checksums can lead to page corruptions in the
190
+ shape of incorrect checksums if the operation is not done consistently
191
+ across all nodes. When enabling or disabling checksums in a replication
192
+ setup, it is thus recommended to stop all the clusters before switching
193
+ them all consistently. Destroying all standbys, performing the operation
194
+ on the primary and finally recreating the standbys from scratch is also
195
+ safe.
199
196
</para>
200
197
<para>
201
- When enabling checksums in a cluster, the operation can potentially
202
- take a long time if the data directory is large. During this operation,
203
- the cluster or other programs that write to the data directory must not
204
- be started or else data loss may occur.
205
- </para>
198
+ If <application>pg_checksums</application> is aborted or killed while
199
+ enabling or disabling checksums, the cluster will keep the same
200
+ configuration for data checksums as before the operation attempted.
201
+ <application>pg_checksums</application> can be restarted to
202
+ attempt again the same operation.
203
+ </para>
206
204
</refsect1>
207
205
</refentry>
0 commit comments