Re: Can there ever be out of sequence WAL files?

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Can there ever be out of sequence WAL files?
Date: 2022-01-12 04:23:00
Message-ID: 20220112042300.7tofci5bdusju4dv@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 12, 2022 at 01:10:25PM +0900, Michael Paquier wrote:
>
> xlog.c can be a good read to check the assumptions WAL replay relies
> on, with things like CheckRecoveryConsistency() or
> reachedConsistency.

That should only stand for a WAL expected to be missing right? For something
unexpected it should fail in XLogReadRecord() when trying to fetch a missing
block?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2022-01-12 04:51:07 Re: pg_upgrade parallelism
Previous Message Tom Lane 2022-01-12 04:15:29 Re: [EXTERNAL] Re: PQcancel does not use tcp_user_timeout, connect_timeout and keepalive settings