Re: 9.4 logical replication - walsender keepalive replies

Поиск
Список
Период
Сортировка
От Steve Singer
Тема Re: 9.4 logical replication - walsender keepalive replies
Дата
Msg-id BLU436-SMTP45CF221EA3E946CF5C873DCED0@phx.gbl
обсуждение исходный текст
Ответ на Re: 9.4 logical replication - walsender keepalive replies  (Steve Singer <steve@ssinger.info>)
Ответы Re: 9.4 logical replication - walsender keepalive replies
Список pgsql-hackers
On 07/14/2014 01:19 PM, Steve Singer wrote:
> On 07/06/2014 10:11 AM, Andres Freund wrote:
>> Hi Steve,
>
>> Right. I thought about this for a while, and I think we should change
>> two things. For one, don't request replies here. It's simply not needed,
>> as this isn't dealing with timeouts. For another don't just check 
>> ->flush
>> < sentPtr but also && ->write < sentPtr. The reason we're sending these
>> feedback messages is to inform the 'logical standby' that there's been
>> WAL activity which it can't see because they don't correspond to
>> anything that's logically decoded (e.g. vacuum stuff).
>> Would that suit your needs?
>>
>> Greetings,
>
> Yes I think that will work for me.
> I tested with the attached patch that I think  does what you describe 
> and it seems okay.
>
>


Any feedback on this?  Do we want that change for 9.4, or do we want 
something else?


>
>> Andres Freund
>>
>
>
>




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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression
Следующее
От: Andres Freund
Дата:
Сообщение: Re: 9.4 logical replication - walsender keepalive replies