Skip to content

All external WAL PVC gets terminated when replica is destroyed #1915

@dakine1111

Description

@dakine1111

Describe the bug
If a cluster is scaled down all WAL PVCs will be terminated

To Reproduce

  1. Create a cluster with >= 1 replica
  2. Scaledown the cluster.
  3. All *-wal PVCs will be terminated

Expected behavior
Only the WAL PVC of the deleted replica gets terminated.

Please tell us about your environment:

  • Container Image Tag: centos7-12.4-4.4.1
  • PostgreSQL Version: 12.4
  • Platform (Docker, Kubernetes, OpenShift): OpenShift
  • Platform Version: 4.5.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions