Re: WAL consistency check facility

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Kuntal Ghosh <kuntalghosh(dot)2007(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila(at)enterprisedb(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: WAL consistency check facility
Date: 2016-11-13 03:06:39
Message-ID: 24b6df1e-dbe2-bde2-1055-7f4c0c9130d3@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/9/16 11:55 PM, Michael Paquier wrote:
> + <varlistentry id="guc-wal-consistency" xreflabel="wal_consistency">
> + <term><varname>wal_consistency</varname> (<type>string</type>)
> + <indexterm>
> + <primary><varname>wal_consistency</> configuration parameter</primary>
> + </indexterm>
> + </term>
> + <listitem>
> + <para>
> + This parameter is used to check the consistency of WAL records, i.e,
> + whether the WAL records are inserted and applied correctly. When
> + <varname>wal_consistency</varname> is enabled for a WAL record, it
> + stores a full-page image along with the record. When a full-page image
> + arrives during redo, it compares against the current page to check whether
> + both are consistent.
> + </para>

Could we name this something like wal_consistency_checking?

Otherwise it sounds like you use this to select the amount of
consistency in the WAL (similar to, say, wal_level).

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2016-11-13 04:16:56 Re: Logical Replication WIP
Previous Message Peter Eisentraut 2016-11-13 03:00:35 Re: pg_dump, pg_dumpall and data durability