Skip to content

db hangs at starting up, connection problems: Archive '00000004.history' does not exist. #1262

Open
@yannick

Description

@yannick
  • Which image of the operator are you using? e.g. registry.opensource.zalan.do/acid/postgres-operator:v1.5.0
    and own one build from spilo master with docker build --build-arg TIMESCALEDB_APACHE_ONLY=false --build-arg PGVERSION="12"

  • Where do you run it - cloud or metal? Kubernetes or OpenShift?
    AWS k8s

  • Are you running Postgres Operator in production?
    Yes

  • Type of issue? [Bug report, question, feature request, etc.]
    after node failures the databases take very long to come up or fail at it.
    sometimes it works but most of the time they get stuck. db's are relatively small. backups and WAL are on s3.
    every so often ( ~10mins)

the most prominent error i see is:

ERROR: 2020/12/17 07:52:56.292259 Archive '00000004.history' does not exist.

https://gist.github.com/yannick/461741dad6a2f09b0d67316380e1bd42

is there a way to solve this, and generall how long should it take to restart a pod that has been killed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    postgresIssue more related to PostgreSQLquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions