回复:Re: Can we change pg_rewind used without wal_log_hints and data_checksums

From: lchch1990(at)sina(dot)cn
To: "Michael Paquier" <michael(at)paquier(dot)xyz>
Cc: "pgsql-hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: 回复:Re: Can we change pg_rewind used without wal_log_hints and data_checksums
Date: 2026-01-15 02:11:21
Message-ID: 69684cc9094637.07078458.3e5b17c3@m0.mail.sina.com.cn
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Thu, Jan 15, 2026 at 09:47:39AM +0800, lchch1990(at)sina(dot)cn wrote:
>Hint bints can be set on a page, and we *have to* WAL log these pages
>so as pg_rewind can track the modified blocks, or we would corrupt a
>data folder after a rewind. See around this thread about the original
>description of the issue:
>https://www.postgresql.org/message-id/519E5493.5060800@vmware.com
Thanks I will read the thread.
>How is a method based on the tracking of transaction IDs and the
>modified blocks not going to be more costly than the current method
>where we are able to track the modified blocks directly in the WAL
>records?My purpose is to remove the depend on wal_log_hints and data_checksumsfor pg_rewind so we need to do more thing than currently.The method to track transaction IDs is to solve some case which currentlypg_rewind can not handle.
--
Movead Li

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-01-15 02:13:16 Re: POC: Parallel processing of indexes in autovacuum
Previous Message Michael Paquier 2026-01-15 01:57:59 Re: Can we change pg_rewind used without wal_log_hints and data_checksums