Re: [PATCHES] Archiver behavior at shutdown

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] Archiver behavior at shutdown
Date: 2008-01-09 15:32:05
Message-ID: 1199892725.4266.324.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Wed, 2008-01-09 at 10:15 -0500, Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > Not sure why this hasn't being applied yet for 8.3
>
> Because it doesn't fix the problem ... which is that the postmaster
> kills the archiver (and the stats collector too) at what is now the
> wrong point in the shutdown sequence.

The original bug report states the problem as being that the archiver
stays for a noticeable period after postmaster shutdown. My patch fixes
that very safely.

It doesn't fix your request for redesign, which I accept is still
pending and I've explained why.

I don't see any reason to leave the original problem hanging just
because the fix isn't as wide as we might really like.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-01-09 15:53:24 Re: Named vs Unnamed Partitions
Previous Message Markus Schiltknecht 2008-01-09 15:20:57 Re: Named vs Unnamed Partitions

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2008-01-09 15:48:40 Re: BUG #3860: xpath crashes backend when is querying xmlagg result
Previous Message Tom Lane 2008-01-09 15:15:12 Re: [PATCHES] Archiver behavior at shutdown