Re: Speedup twophase transactions

Поиск
Список
Период
Сортировка
От Stas Kelvich
Тема Re: Speedup twophase transactions
Дата
Msg-id EDEE5B08-752B-42F9-A243-732599BE2EC4@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Speedup twophase transactions  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
> On 08 Apr 2016, at 16:36, Simon Riggs <simon@2ndQuadrant.com> wrote:
>
> 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.

Yes, test framework already has that function. That was just quick script to reproduce bug, that Michael faced.
If there will be deterministic way to reproduce that bug, i'll rework it and move to 00X_twophase.pl

--
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Speedup twophase transactions
Следующее
От: David Steele
Дата:
Сообщение: Re: 2016-03 Commitfest