hapostgres / hapostgres/pg_auto_failover

Unmanaged replication slots being dropped by pg_auto_failover

Open
#866 10 comments 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.4k
Forks
142
Avg merge
5h 8m
Merged PRs (30d)
1

Description

Hello!

I am not sure if this is a bug or desired behavior, but I would like to understand it either way.

If you've manually created a replication slot on the primary (with a name not matching the pg_auto_failover slot naming convention), this slot will be dropped during a failover of the primary.

If this is not intended behavior, please see these rough steps to reproduce with [this branch](https://github.com/rheaton/pg_auto_failover/tree/issue/slot_dropping) at the bottom of [this file](https://github.com/rheaton/pg_auto_failover/blob/issue/slot_dropping/tests/slot_dropping/Makefile).

Thank you!
Rachel & @swati-nair

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.