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

Prefetched WAL segments are not returned until the whole batch finishes

Aperta
#1,149 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Kobayashi-UwU ci sta già lavorando.

Dal 9/10/2026.

  • #1150 di @Kobayashi-UwU — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, postgresql
Ambito
backend, databases

Direzione di ricerca

Start from RestoreList, which waits for every parallel download before it returns the requested WAL segment, and from the wal.maxParallel setting that controls the batch. The change depends on wal.prefetch and PrefetchIntoSpool from cloudnative-pg/barman-cloud#319, and PR #1150 already targets this issue, so check that work before starting. Done means the requested segment is returned once it is in the spool or downloaded, while later downloads continue in the background.

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

Descrizione

wal.maxParallel already downloads the requested WAL segment and the following ones together. RestoreList waits for every download before it returns the requested segment, so PostgreSQL cannot start redo on that segment while the later ones are still transferring.

On a store where each signed GET spends about 510 ms before the first byte, that wait is visible on every segment. Returning the requested segment as soon as it is in the spool or has been downloaded, and continuing the next downloads in the background, lets redo overlap the following transfers.

Depends on the wal.prefetch field and PrefetchIntoSpool added in cloudnative-pg/barman-cloud#319.

Lingua principale
Go
Stelle
198
Fork
81
Merge medio
2g 6h
PR unite (30g)
19

Preparare l'ambiente

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 cloudnative-pg/plugin-barman-cloud

Tutte le issue di cloudnative-pg/plugin-barman-cloud

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.