Re: Substituting Checksum Algorithm (was: Enabling Checksums)

From: Noah Misch <noah(at)leadboat(dot)com>
To: Greg Smith <greg(at)2ndQuadrant(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Simon Riggs <simon(at)2ndQuadrant(dot)com>, Ants Aasma <ants(at)cybertec(dot)at>, Jeff Davis <pgsql(at)j-davis(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)2ndquadrant(dot)com>, Florian Pflug <fgp(at)phlo(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Bruce Momjian <bruce(at)momjian(dot)us>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Subject: Re: Substituting Checksum Algorithm (was: Enabling Checksums)
Date: 2013-04-30 23:12:04
Message-ID: 20130430231204.GC27134@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Orthogonal to this thread, but:

On Tue, Apr 30, 2013 at 06:39:09PM -0400, Greg Smith wrote:
> The WAL logging of hint bits is where the scary stuff to me for this
> feature has always been at. My gut feel is that doing that needed to
> start being available as an option anyway. Just this month we've had
> two customer issues pop up where we had to look for block differences
> between a master and a standby. The security update forced some normal
> update stragglers to where they now have the 9.1.6 index corruption fix,
> and we're looking for cases where standby indexes might have been
> corrupted by it. In this case the comparisons can just avoid anything
> but indexes, so hint bits are thankfully not involved.

B-tree indexes have hints; see callers of ItemIdMarkDead().

--
Noah Misch
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2013-04-30 23:35:54 Re: Incomplete description of pg_start_backup?
Previous Message Greg Smith 2013-04-30 22:39:09 Re: Substituting Checksum Algorithm (was: Enabling Checksums)