Does logical replication slot itself would be physically replicated to slaves?

From: Jinhua Luo <luajit(dot)io(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Does logical replication slot itself would be physically replicated to slaves?
Date: 2018-09-08 09:37:43
Message-ID: CAAc9rOzTM5iZG94C9es-k6YLvB6z180qG5+Bt7s4=nrnpmEWdw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,

My topology is as shown below:

slave1 <------physical streaming protocol-----master1 <----logical
streaming protocol-----> master2 ------ physical streaming protocol
---> slave2

The master1 and slave1 are within DC1, while the others are within DC2.

The logical streaming replication is used to replicate changes between
DC. I need to confirm that whether the logical replication slot would
be saved in wal and replicated to slave via physical replication? So
that in case of failover, the new master still holds the slot needed
by peer.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jinhua Luo 2018-09-08 09:41:06 How to find local logical replication origin?
Previous Message Fabien COELHO 2018-09-08 07:17:21 Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors