zalando / zalando/postgres-operator

Standby cluster is in archive recovery state

Open
#2,929 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Go
Stars
5.2k
Forks
1.1k
Avg merge
2d 16h
Merged PRs (30d)
3

Description

Hi All,

I am using PostgreSQL 16.9.
I observe that standby pod show the state "in archive recovery" in patronictl list instead of streaming/running. Replication is fine and no errors in pod,postgres logs.
Postges15, the state is running for standby cluster. Is this expected?

Cluster: pg-pg16devjun271 (7520543320855007304) -----+---------------------+----+-----------+
| Member | Host | Role | State | TL | Lag in MB |
+--------------------+----------------+----------------+---------------------+----+-----------+
| pg-pg16devjun271-0 | 192.168.11.154 | Standby Leader | in archive recovery | 1 | |

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the patronictl output for the PostgreSQL 16.9 standby with the reported PostgreSQL 15 behavior, using the standby pod and PostgreSQL logs mentioned in the issue. Done means determining whether “in archive recovery” is expected for this setup or documenting a reproducible discrepancy.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes, postgresql
Domain
databases, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.