Skip to content

Shutdown Postgres container safely when redeploying #54

@thalesmg

Description

@thalesmg

Frequently, when one redeploys an already running cluster after changing something, the Postgres WAL (write ahead log) will get corrupted, preventing the start of the new container. Which in turn prevents the whole monitoring task from starting.

A workaround is to redeploy (again) running pg_resetwal /var/lib/postgresql in the Postgres container as the postgres user, and then trying again. That is very time consuming.

We would need to find a way to safely redeploy the cluster without corrupting Postgres data.

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