Allow secondary to restore from primary while primary archives to swift

Bug #1987368 reported by Loïc Gomez
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PostgreSQL Charm
New
Undecided
Unassigned

Bug Description

We need to be able to have the secondary restore from primary, while having the primary archive to swift storage.

This means we would need restore_command to stay unset, even if postgresql.wal_e.enabled is true.
I'd suggest adding a new boolean option, wal_e_restore_on_standby or similar around https://git.launchpad.net/postgresql-charm/tree/reactive/postgresql/replication.py#n564

Thank you,
Loïc

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.