Re: making write location work (was: Efficient transaction-controlled synchronous replication)

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: making write location work (was: Efficient transaction-controlled synchronous replication)
Дата
Msg-id
29325.1300898681@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Re: making write location work (was: Efficient transaction-controlled synchronous replication) Tom Lane <tgl@sss.pgh.pa.us>
Re: making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Re: making write location work (was: Efficient transaction-controlled synchronous replication) Simon Riggs <simon@2ndQuadrant.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Simon Riggs <simon@2ndQuadrant.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Simon Riggs <simon@2ndQuadrant.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Simon Riggs <simon@2ndQuadrant.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Fujii Masao <masao.fujii@gmail.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Simon Riggs <simon@2ndQuadrant.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Fujii Masao <masao.fujii@gmail.com>
Re: Re: making write location work (was: Efficient transaction-controlled synchronous replication) Robert Haas <robertmhaas@gmail.com>
Robert Haas  writes:
> Specifically, if we're not going to remove write location, then I
> think we need to apply something like the attached.

>  			while (walrcv_receive(0, &type, &buf, &len))
>  				XLogWalRcvProcessMsg(type, buf, len);
> +			/* Let the master know that we received some data. */
> +			XLogWalRcvSendReply();

What if we didn't actually receive any new data?
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Tom Lane
Дата:
FAQ