Re: Sync Rep v19

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Sync Rep v19
Date: 2011-03-05 12:21:26
Message-ID: 1299327686.10703.11428.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-03-05 12:24:46 Re: Sync Rep v19
Previous Message Andres Freund 2011-03-05 12:16:49 Re: Alpha4 release blockers (was Re: wrapping up this CommitFest)