Re: Speedup twophase transactions - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Speedup twophase transactions
Date
Msg-id CANP8+jLTOqWLZ+k9iwb_3xNYczjipHqXLgqoQa1TxQjbACmVKA@mail.gmail.com
Whole thread Raw
In response to Re: Speedup twophase transactions  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Speedup twophase transactions  (Stas Kelvich <s.kelvich@postgrespro.ru>)
List pgsql-hackers
On 7 April 2016 at 07:29, Michael Paquier <michael.paquier@gmail.com> wrote:

With the test case attached in my case the COMMIT PREPARED record does
not even get replayed.

I was surprised to see this in the test...

   sleep 2; # wait for changes to arrive on slave 

I think the test framework needs a WaitForLSN function to allow us to know for certain that something has been delivered.

--
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: Optimization for updating foreign tables in Postgres FDW
Next
From: Stas Kelvich
Date:
Subject: Re: Speedup twophase transactions