Re: Stopping logical replication protocol

From: Vladimir Gordiychuk <folyga(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Álvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Stopping logical replication protocol
Date: 2016-09-18 23:12:04
Message-ID: CAFgjRd2uyC30ivFY_NvatcWx5N5Rzod7WD3CHp3wQPAS34CUFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

New patch in attach. 0001 and 0002 without changes.
0003 - patch contain improvements for pg_recvloginca, now pg_recvloginca
after receive SIGINT will send CopyDone package to postgresql and wait from
server CopyDone. For backward compatible after repeat send SIGINT
pg_recvloginca will continue immediately without wait CopyDone from
server.
0004 patch contain regression tests on scenarios that fix 0001 and 0002
patches.

2016-09-16 10:11 GMT+03:00 Vladimir Gordiychuk <folyga(at)gmail(dot)com>:

> >Have you had a chance to look at adding the tests we discussed?
>
> Not yet. I plane do it on this weekends
>
> 2016-09-16 4:37 GMT+03:00 Craig Ringer <craig(at)2ndquadrant(dot)com>:
>
>> On 9 September 2016 at 12:03, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
>>
>> > Setting "waiting on author" in CF per discussion of the need for tests.
>>
>> Have you had a chance to look at adding the tests we discussed?
>>
>> --
>> Craig Ringer http://www.2ndQuadrant.com/
>> PostgreSQL Development, 24x7 Support, Training & Services
>>
>
>

Attachment Content-Type Size
0001-Respect-client-initiated-CopyDone-in-walsender.patch text/x-patch 3.5 KB
0002-Client-initiated-CopyDone-during-transaction-decondi.patch text/x-patch 11.4 KB
0003-Add-ability-for-pg_recvlogical-safe-stop-replication.patch text/x-patch 59.9 KB
0004-Add-tests-for-stop-replication-protocol.patch text/x-patch 5.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Steve Singer 2016-09-19 02:13:33 Re: Logical Replication WIP
Previous Message Tomas Vondra 2016-09-18 21:11:58 Re: Speed up Clog Access by increasing CLOG buffers