pg_resetxlog bug? - Mailing list pgsql-hackers

From Fujii Masao
Subject pg_resetxlog bug?
Date
Msg-id 3f0b79eb0904300807y43a96717ued641f6624c2470@mail.gmail.com
Whole thread Raw
Responses Re: pg_resetxlog bug?  (Simon Riggs <simon@2ndQuadrant.com>)
Re: pg_resetxlog bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

Current pg_resetxlog doesn't remove any archive status files. This
may cause continuous failure of archive command since .ready file
remains even if a corresponding XLOG segment is removed. And,
.done file without XLOG segment cannot be removed by checkpoint,
and would remain forever. These are undesirable behaviors.

I think that pg_resetxlog should remove existing archive status files
of XLOG segments. Here is the patch to do so.

Thought?

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Keyword list sanity check
Next
From: Peter Eisentraut
Date:
Subject: Re: Keyword list sanity check