Thread: Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

From
Heikki Linnakangas
Date:
On 14.01.2011 14:10, Simon Riggs wrote:
> Please make that the last commit in this area for next week.
>
> I want to get a base from which to solidify the sync rep code, and
> associated patches.
>
> I'm not saying there will be a code clash, but there may be a clash of
> detail or intention that will make life more difficult for testing.

I'm sorry, but it doesn't work that way. There's at least one serious 
bug in there still 
(http://archives.postgresql.org/message-id/4D302326.1000000@enterprisedb.com), 
and the multiple-concurrent-backups patch is pending review/commit. And 
there's one more feature me & Magnus would like to get in before the 
release: including all the WAL files required to restore from the backup 
in the backup tar itself - we'll see if that makes the release or not.

None of that should conflict seriously with the synch rep code, although 
it's hard to tell without seeing the patch. And even if it does, we'll 
just resolve the conflict, merge conflicts are not such a big deal.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

From
Magnus Hagander
Date:
On Fri, Jan 14, 2011 at 13:16, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> On 14.01.2011 14:10, Simon Riggs wrote:
>>
>> Please make that the last commit in this area for next week.
>>
>> I want to get a base from which to solidify the sync rep code, and
>> associated patches.
>>
>> I'm not saying there will be a code clash, but there may be a clash of
>> detail or intention that will make life more difficult for testing.
>
> I'm sorry, but it doesn't work that way. There's at least one serious bug in
> there still
> (http://archives.postgresql.org/message-id/4D302326.1000000@enterprisedb.com),
> and the multiple-concurrent-backups patch is pending review/commit. And
> there's one more feature me & Magnus would like to get in before the
> release: including all the WAL files required to restore from the backup in
> the backup tar itself - we'll see if that makes the release or not.

There's one more before that, which is the walsender parser patch. I
intend to get that in RSN, but the "include all wal files" will be a
while, though, I don't think either of us has started that one?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

From
Simon Riggs
Date:
On Fri, 2011-01-14 at 14:16 +0200, Heikki Linnakangas wrote:
> On 14.01.2011 14:10, Simon Riggs wrote:
> > Please make that the last commit in this area for next week.
> >
> > I want to get a base from which to solidify the sync rep code, and
> > associated patches.
> >
> > I'm not saying there will be a code clash, but there may be a clash of
> > detail or intention that will make life more difficult for testing.
> 
> I'm sorry, but it doesn't work that way. There's at least one serious 
> bug in there still 

I'm not clear why you haven't submitted this code to the CommitFest,
especially if it clearly hasn't been very well tested.

> None of that should conflict seriously with the synch rep code, although 
> it's hard to tell without seeing the patch. And even if it does, we'll 
> just resolve the conflict, merge conflicts are not such a big deal.

It's even easier if you don't cause them in the first place.

My request is not unreasonable. Please be helpful, as you would expect
me to be if the roles were reversed.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



Re: Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

From
Robert Haas
Date:
On Fri, Jan 14, 2011 at 7:25 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> My request is not unreasonable. Please be helpful, as you would expect
> me to be if the roles were reversed.

I can't remember anyone other than you ever requesting that.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

From
Heikki Linnakangas
Date:
On 14.01.2011 14:25, Simon Riggs wrote:
> On Fri, 2011-01-14 at 14:16 +0200, Heikki Linnakangas wrote:
>> None of that should conflict seriously with the synch rep code, although
>> it's hard to tell without seeing the patch. And even if it does, we'll
>> just resolve the conflict, merge conflicts are not such a big deal.
>
> It's even easier if you don't cause them in the first place.
>
> My request is not unreasonable. Please be helpful, as you would expect
> me to be if the roles were reversed.

Feel free to submit the patch against the snapshot of today. I will fix 
any merge conflict that arises from changes to the base-backup stuff.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Jan 14, 2011 at 7:25 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> My request is not unreasonable. Please be helpful, as you would expect
>> me to be if the roles were reversed.

> I can't remember anyone other than you ever requesting that.

Yes.  As Heikki said, it doesn't work that way.
        regards, tom lane


Re: Re: [COMMITTERS] pgsql: Exit from base backups when shutdown is requested

From
Simon Riggs
Date:
On Fri, 2011-01-14 at 07:30 -0500, Robert Haas wrote:
> On Fri, Jan 14, 2011 at 7:25 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> > My request is not unreasonable. Please be helpful, as you would expect
> > me to be if the roles were reversed.
> 
> I can't remember anyone other than you ever requesting that.

Meaning what? You're playing compliment to my originality? Thanks ;-)

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services