Re: Synchronization levels in SR - Mailing list pgsql-hackers

From Markus Wanner
Subject Re: Synchronization levels in SR
Date
Msg-id 4C864CA9.7060407@bluegap.ch
Whole thread Raw
In response to Re: Synchronization levels in SR  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Synchronization levels in SR
Re: Synchronization levels in SR
List pgsql-hackers
On 09/07/2010 04:15 PM, Robert Haas wrote:
> In theory, that's true, but if we do that, then there's an even bigger
> problem: the slave might have replayed WAL ahead of the master
> location; therefore the slave is now corrupt and a new base backup
> must be taken.

The slave isn't corrupt. It would suffice to "late abort" committed 
transactions the master doesn't know about.

However, I realize that undoing of WAL isn't something that's 
implemented (nor planned). So it's probably easier to forward the master 
in such a case.

> Yeah, I hope we'll get there eventually.

Understood. Thanks.

Markus Wanner



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: git: uh-oh
Next
From: Magnus Hagander
Date:
Subject: Re: git: uh-oh