Re: Why we don't have checksums on clog files
От | Amit Kapila |
---|---|
Тема | Re: Why we don't have checksums on clog files |
Дата | |
Msg-id | CAA4eK1L=XS3k7X9pfYKOZ6KGu2PbzGiX+1NF-dFkC35FJMCtWQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Why we don't have checksums on clog files (Alex Ignatov <a.ignatov@postgrespro.ru>) |
Ответы |
Re: Why we don't have checksums on clog files
Re: Why we don't have checksums on clog files |
Список | pgsql-hackers |
On Mon, Jun 6, 2016 at 8:43 PM, Alex Ignatov <a.ignatov@postgrespro.ru> wrote:
Hello!
Why we don't have checksums on clog files.
We have checksum on pg_control, optional checksumming on data files, some form of checksumming on wal's. But why we don't have any checksumming on clogs. Corruptions on clogs lead to transaction visisbility problems and database consistency violation.
Can anybody explain this situation with clogs?
I think it will be better if users can have an option to checksum clog pages. However, I think that will need a change in page (CLOG-page) format which might not be a trivial work to accomplish.
В списке pgsql-hackers по дате отправления: