Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Standby fails to rejoin when associated replication slot has been removed

Aperta
#65 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
go, postgres

Direzione di ricerca

Inizia tracciando il ripristino dello standby e la gestione dei replication slot in questa configurazione HA di Postgres basata su Go, usando l’errore segnalato relativo allo slot mancante come caso di riproduzione. Conferma il comportamento di ripristino previsto dopo la rimozione dello slot associato; il lavoro è completato quando lo standby può rientrare invece di fallire ripetutamente durante lo streaming di WAL.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

The Standby is not able to recover properly once the replication slot has been removed. This can happen if a standby is stopped for a while and then started back up.

2023-02-04T22:28:59Z app[9080563f609108] ord [info]postgres        | 2023-02-04 22:28:59.448 UTC [692] STATEMENT:  START_REPLICATION SLOT "repmgr_slot_1094506454" 0/8000000 TIMELINE 1
2023-02-04T22:28:59Z app[9185e0ef4712d8] ord [info]postgres  | 2023-02-04 22:28:59.449 UTC [578] LOG:  waiting for WAL to become available at 0/8002000
2023-02-04T22:29:04Z app[9185e0ef4712d8] ord [info]postgres  | 2023-02-04 22:29:04.449 UTC [632] FATAL:  could not start WAL streaming: ERROR:  replication slot "repmgr_slot_1094506454" does not exist
2023-02-04T22:29:04Z app[9080563f609108] ord [info]postgres        | 2023-02-04 22:29:04.449 UTC [704] ERROR:  replication slot "repmgr_slot_1094506454" does not exist
2023-02-04T22:29:04Z app[9185e0ef4712d8] ord [info]postgres  | 2023-02-04 22:29:04.450 UTC [578] LOG:  waiting for WAL to become available at 0/8002000
2023-02-04T22:29:04Z app[9080563f609108] ord [info]postgres        | 2023-02-04 22:29:04.449 UTC [704] STATEMENT:  START_REPLICATION SLOT "repmgr_slot_1094506454" 0/8000000 TIMELINE 1
2023-02-04T22:29:09Z app[9185e0ef4712d8] ord [info]postgres  | 2023-02-04 22:29:09.453 UTC [635] FATAL:  could not start WAL streaming: ERROR:  replication slot "repmgr_slot_1094506454" does not exist
2023-02-04T22:29:09Z app[9185e0ef4712d8] ord [info]postgres  | 2023-02-04 22:29:09.453 UTC [578] LOG:  waiting for WAL to become available at 0/8002000
2023-02-04T22:29:09Z app[9080563f609108] ord [info]postgres        | 2023-02-04 22:29:09.453 UTC [713] ERROR:  replication slot "repmgr_slot_1094506454" does not exist
2023-02-04T22:29:09Z app[9080563f609108] ord [info]postgres        | 2023-02-04 22:29:09.453 UTC [713] STATEMENT:  START_REPLICATION SLOT "repmgr_slot_1094506454" 0/8000000 TIMELINE 1
Lingua principale
Go
Stelle
171
Fork
76
Merge medio
1h 19m
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fly-apps/postgres-flex

Tutte le issue di fly-apps/postgres-flex

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.