Re: [PATCHES] wal_checksum = on (default) | off - Mailing list pgsql-hackers

From Florian Weimer
Subject Re: [PATCHES] wal_checksum = on (default) | off
Date
Msg-id 87r6uawnst.fsf@mid.deneb.enyo.de
Whole thread Raw
In response to Re: [PATCHES] wal_checksum = on (default) | off  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] wal_checksum = on (default) | off
List pgsql-hackers
* Tom Lane:

> Florian Weimer <fweimer@bfk.de> writes:
>> Have you tried switching to Adler32 instead of CRC32?
>
> Is anything known about the error detection capabilities of Adler32?
> There's a lot of math behind CRCs but AFAIR Adler's method is pretty
> much ad-hoc.

Correct me if I'm wrong, but the main reason for the WAL CRC is to
detect partial WAL writes (due to improper caching, for instance).
This means that you're out of the realm of traditional CRC analysis
anyway, because the things you are guarding against are neither burts
errors nor n-bit errors (for small n).

pgsql-hackers by date:

Previous
From: markwkm@gmail.com
Date:
Subject: ideas for auto-processing patches
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] wal_checksum = on (default) | off