wal archive showing zero size

From: mail list <mailist(at)milidonis(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: wal archive showing zero size
Date: 2014-07-10 20:12:22
Message-ID: 53BEF3A6.20403@milidonis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I have WAL archiving enabled and after a failure the other day i tried
to restre using teh wal archives i had .
However one of the WAL archives appera to be 0 bytes and therefore i
cannot restore the wal archives getting the following error

FATAL: archive file "000000010000000000000010" has wrong size: 0
instead of 16777216

list of some of the archives

-rw------- 3 postgres postgres 16777216 Jun 7 08:34
00000001000000000000000B
-rw------- 3 postgres postgres 16777216 Jun 8 03:14
00000001000000000000000C
-rw------- 3 postgres postgres 16777216 Jun 8 21:44
00000001000000000000000D
-rw------- 3 postgres postgres 16777216 Jun 9 16:24
00000001000000000000000E
-rw------- 3 postgres postgres 16777216 Jun 10 11:04
00000001000000000000000F
-rw------- 3 postgres postgres 0 Jun 10 17:38
000000010000000000000010
-rw------- 3 postgres postgres 16777216 Jun 11 11:54
000000010000000000000011
-rw------- 3 postgres postgres 16777216 Jun 12 05:51
000000010000000000000012
-rw------- 3 postgres postgres 16777216 Jun 13 01:58
000000010000000000000013
-rw------- 3 postgres postgres 16777216 Jun 13 20:38
000000010000000000000014
-rw------- 3 postgres postgres 16777216 Jun 14 15:28
000000010000000000000015
-rw------- 3 postgres postgres 16777216 Jun 15 09:58
000000010000000000000016
-rw------- 3 postgres postgres 16777216 Jun 16 04:28
000000010000000000000017
-rw------- 3 postgres postgres 16777216 Jun 16 23:28
000000010000000000000018
-rw------- 3 postgres postgres 16777216 Jun 17 18:12
000000010000000000000019

Is there a way around this?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jerry Sievers 2014-07-10 20:43:22 Re: wal archive showing zero size
Previous Message David Morton 2014-07-09 10:16:26 Re: Safe to gracefully switch 9.2 streaming replication roles multiple times ?