Re: Sync Rep v19 - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Sync Rep v19
Date
Msg-id 1299327686.10703.11428.camel@ebony
Whole thread Raw
In response to Re: Sync Rep v19  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Sync Rep v19
List pgsql-hackers
On Sat, 2011-03-05 at 11:04 +0000, Simon Riggs wrote:
> > +             /*
> > +              * Assume the queue is ordered by LSN
> > +              */
> > +             if (XLByteLT(walsndctl->lsn, proc->waitLSN))
> > +                     return numprocs;
> > 
> > The code to ensure the assumption needs to be added.
> 
> Yes, just need to add the code for traversing list backwards.

I've added code to shmqueue.c to allow this.

New version pushed.

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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Alpha4 release blockers (was Re: wrapping up this CommitFest)
Next
From: Robert Haas
Date:
Subject: Re: Sync Rep v19