回复:Re: Can we change pg_rewind used without wal_log_hints and data_checksums - Mailing list pgsql-hackers

From lchch1990@sina.cn
Subject 回复:Re: Can we change pg_rewind used without wal_log_hints and data_checksums
Date
Msg-id 69684cc9094637.07078458.3e5b17c3@m0.mail.sina.com.cn
Whole thread Raw
List pgsql-hackers

On Thu, Jan 15, 2026 at 09:47:39AM +0800, lchch1990@sina.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_checksums
for pg_rewind so we need to do more thing than currently.
The method to track transaction IDs is to solve some case which currently
pg_rewind can not handle.

--
Movead Li

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Can we change pg_rewind used without wal_log_hints and data_checksums
Next
From: Masahiko Sawada
Date:
Subject: Re: POC: Parallel processing of indexes in autovacuum