Hi, On 21 Nov 2026, Zhijie Hou wrote: > We could fix this by unconditionally WAL-logging the VM page there, > which advances pd_lsn as well.
Could we work out all the conditions under which redo must reproduce each field, and keep the consistency check enabled whenever they hold? I'd analyze PD_ALL_VISIBLE and the VM bitmap separately. Besides checksums, wal_log_hints and full_page_writes, we need to consider LSN ordering and the page lifecycle: truncation, unlink/recreation and zero-extension, including whether the current record initializes the page. Decisions based on configuration should use the WAL writer's settings, including changes recorded in the replayed WAL. We could then mask only the fields whose prerequisites are not satisfied, or skip a comparison when a missing or new page cannot be reconstructed. Thank you! Best regards, Andrey Borodin.
