Re: WAL consistency check facility

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Kuntal Ghosh <kuntalghosh(dot)2007(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-15 13:53:01
Message-ID: CA+TgmoauHPrgf4Uc3bS=0jbW_nmcCUzh0EsJ2--HaBkOjELVNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Nov 12, 2016 at 10:06 PM, Peter Eisentraut
<peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> 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).

+1. I like that name.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2016-11-15 14:23:18 Re: [bug fix] Cascading standby cannot catch up and get stuck emitting the same message repeatedly
Previous Message Andrew Dunstan 2016-11-15 13:44:37 postgres_fdw and defaults