Re: Standbys, txid_current_snapshot, wraparound - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Standbys, txid_current_snapshot, wraparound
Date
Msg-id 20120329142937.GA9947@gmail.com
Whole thread Raw
In response to Re: Standbys, txid_current_snapshot, wraparound  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Thu, Mar 29, 2012 at 03:23:01PM +0100, Simon Riggs wrote:
> On Thu, Mar 29, 2012 at 3:04 PM, Marko Kreen <markokr@gmail.com> wrote:
> > Next question: how can flipping archive_mode on and off,
> > with restarts, near wraparound point, break epoch on master?
> >
> >  http://lists.pgfoundry.org/pipermail/skytools-users/2012-March/001609.html
> >
> > Any ideas?
> >
> > Could WAL playback from backend with different archive_mode setting
> > cause it somehow?
> 
> The current code would allow it, if you managed to go for 4 billion
> xids between checkpoints. If that happened, it would give an off by
> one error each time it happened.
> 
> I don't believe that is possible.

Yes, that does not sound like probable case.

-- 
marko



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Standbys, txid_current_snapshot, wraparound
Next
From: Dobes Vandermeer
Date:
Subject: HTTP Frontend? (and a brief thought on materialized views)