mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 23:36:41 +02:00
remove stream resources after drop from Postgres manifest (#2563)
* remove stream resources after drop from Postgres manifest
This commit is contained in:
@@ -327,7 +327,8 @@ func (c *Cluster) syncStreams() error {
|
||||
if len(slotsToSync) > 0 {
|
||||
requiredPatroniConfig.Slots = slotsToSync
|
||||
} else {
|
||||
return nil
|
||||
// try to delete existing stream resources
|
||||
return c.deleteStreams()
|
||||
}
|
||||
|
||||
c.logger.Debug("syncing logical replication slots")
|
||||
|
||||
Reference in New Issue
Block a user