Re: [Patch] Checksums for SLRU files - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: [Patch] Checksums for SLRU files
Date
Msg-id 9E26B786-B653-4156-8E6F-08489DBD5F07@yandex-team.ru
Whole thread Raw
In response to Re: [Patch] Checksums for SLRU files  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: [Patch] Checksums for SLRU files
Re: [Patch] Checksums for SLRU files
List pgsql-hackers
Hi!

> 1 авг. 2018 г., в 13:49, Thomas Munro <thomas.munro@enterprisedb.com> написал(а):
>
> Hmm.  This proposal doesn't seem to deal with torn writes.
That's true, but it's a bit orthogonal to problem solved with checksums.
Checksums provide way to avoid reading bad page, torn pages - is about preventing writing bad writes.

But adding LSNs, and whole regular PageHeader is quite easy in this patch. Do you think we should really go that way?

Putting SLRUs into usual shared buffers and WAL-logging looks like a good idea, but a lot of work.

Best regards, Andrey Borodin.

pgsql-hackers by date:

Previous
From: ahsan hadi
Date:
Subject: Re: BUG #15182: Canceling authentication due to timeout aka Denial ofService Attack
Next
From: Emre Hasegeli
Date:
Subject: Re: Standby trying "restore_command" before local WAL