Re: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.

From: MARK CALLAGHAN <mdcallag(at)gmail(dot)com>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Aidan Van Dyk <aidan(at)highrise(dot)ca>, Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.
Date: 2011-03-18 15:52:18
Message-ID: AANLkTik058OfhS-xEcNSJdGhcxS4sbntPQdKj9cLQY2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Mar 18, 2011 at 2:19 PM, Markus Wanner <markus(at)bluegap(dot)ch> wrote:

> Their documentation [1] isn't entirely clear on that first: "the master
> blocks after the commit is done and waits until at least one
> semisynchronous slave acknowledges that it has received all events for
> the transaction" and the "slave acknowledges receipt of a transaction's
> events only after the events have been written to its relay log and
> flushed to disk".
>
> But then continues to say that "[the master is] waiting for
> acknowledgment from a slave after having performed a commit", so this
> indeed sounds like the transaction is visible to other sessions before
> the slave ACKs.

Yes, their docs are not clear on this.

--
Mark Callaghan
mdcallag(at)gmail(dot)com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message MARK CALLAGHAN 2011-03-18 16:03:03 Re: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.
Previous Message Heikki Linnakangas 2011-03-18 15:47:46 Re: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-03-18 15:58:44 Re: Sync Rep and shutdown Re: Sync Rep v19
Previous Message Heikki Linnakangas 2011-03-18 15:47:46 Re: Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.