Re: Logical Decoding Failover - Mailing list pgsql-general

From Simon Riggs
Subject Re: Logical Decoding Failover
Date
Msg-id CANP8+jKoUeSd=rLbcXYy1rE+zYG=DrRQTiGaMdEXosKkFDpjWw@mail.gmail.com
Whole thread Raw
In response to Logical Decoding Failover  (Colin Morelli <colin.morelli@gmail.com>)
Responses Re: Logical Decoding Failover  (Colin Morelli <colin.morelli@gmail.com>)
List pgsql-general
On 6 August 2016 at 04:17, Colin Morelli <colin.morelli@gmail.com> wrote:

> I'm using logical decoding in my application to capture change streams and
> ship them to Kafka. However, logical replication slots aren't included in
> the WAL and thus don't make it to replicas. In the case of a failover, it's
> not clear what (if anything) can be done to continue receiving a change
> stream.
>
> I noticed there was a failover slot patch that looks like it won't be making
> it for 9.6 (if at all), but does anyone else have suggestions for handling
> failover + logical decoding? Is there an answer, or is it limited to being a
> very manual process for now?

Hi Colin,

Yes, its a current issue.

A patch was submitted but not applied to 9.6 for this, so the issue
continues. As a result, 2Q support that as a custom solution for a
number of customers.

A different design will be submitted for the next release, 10.0.

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


pgsql-general by date:

Previous
From: Venkata Balaji N
Date:
Subject: Re: Logical Decoding Failover
Next
From: Colin Morelli
Date:
Subject: Re: Logical Decoding Failover