pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: 江川潔 <egawa@apteq.jp>
Cc: pgsql-general@postgresql.org
Subject: Re: archive file "00000001000000000000006F" has wrong size: 67118648 instead of 16777216
Date: Wed, 25 Nov 2020 12:47:42 +0900
Message-ID: <X73T3uJYB026JP0+@paquier.xyz> (raw)
In-Reply-To: <CAH0xBbFZJ_NvWxNSfAMOnVYbVDwfMH-LOsAysABoFvPRN8EWPA@mail.gmail.com>
References: <CAH0xBbFZJ_NvWxNSfAMOnVYbVDwfMH-LOsAysABoFvPRN8EWPA@mail.gmail.com>

On Wed, Nov 25, 2020 at 11:01:37AM +0900, 江川潔 wrote:
> Hi,
> 
> WAL log recovery was failed on wrong log record size. Could you please
> advise me what is wrong in the setting ? Any suggestions will be highly
> appreciated.


> 2020-11-25 10:12:23.569 JST [7792] FATAL:  archive file
> "00000001000000000000006F" has wrong size: 67118648 instead of 16777216

Something is fishy with your WAL archive partition, so you had better
check its state, by for example using pg_waldump on each segment
archived.  This error means that the file copied was basically 64MB in
size, while these are expected to be 16MB in this instance.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <X73T3uJYB026JP0+@paquier.xyz>
Permalink:  ../X73T3uJYB026JP0+@paquier.xyz/
Also on:    postgresql.org/message-id/X73T3uJYB026JP0+@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: michael@paquier.xyz, egawa@apteq.jp
  Subject: Re: archive file "00000001000000000000006F" has wrong size: 67118648 instead of 16777216
  In-Reply-To: <X73T3uJYB026JP0+@paquier.xyz>
  References: <CAH0xBbFZJ_NvWxNSfAMOnVYbVDwfMH-LOsAysABoFvPRN8EWPA@mail.gmail.com> <X73T3uJYB026JP0+@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox