pg_rewind and replication slots

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_rewind and replication slots
Date: 2018-01-23 19:49:53
Message-ID: 1516736993.5599.4.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When a primary with replication slots gets reset with pg_rewind,
it keeps the replication slots.

This does no harm per se, but when it gets promoted again,
the replication slots are still there and are in the way.
Won't they also hold back the xmin horizon?

I think that pg_rewind should delete all replication slots.

Yours,
Laurenz Albe

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2018-01-23 19:59:18 Re: [HACKERS] Support for Secure Transport SSL library on macOS as OpenSSL alternative
Previous Message Robert Haas 2018-01-23 19:24:56 Re: pgsql: Add parallel-aware hash joins.