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

WAL restore starts a new process for every segment

Aperta
#318 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@Kobayashi-UwU ci sta già lavorando.

Dal 9/10/2026.

  • #319 di @Kobayashi-UwU — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cloud

Direzione di ricerca

This is a design proposal, so settle the approach before writing code. Start with how barman-cloud-wal-restore launches per segment and how wal.maxParallel batches downloads, since those set the scope of the opt-in wal.persistentConnection client and the new wal.prefetch field. Done means maintainers agree on the allowed compression and encryption combinations and the prefetch semantics, not that a patch exists.

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

Descrizione

WAL restore through barman-cloud-wal-restore starts a new process for every segment. On an S3-compatible store, one gzip-compressed 16 MiB segment took about 1.53 s end to end, about 10.5 MB/s. A long-lived S3 client in the same process, still signing every request, took about 0.67 s for the same segment, about 24 MB/s.

The client would be opt-in (wal.persistentConnection) and limited to S3 with gzip or no compression. Encryption and restoreAdditionalCommandArgs would stay on barman-cloud-wal-restore. History files would stay on barman-cloud-wal-restore.

A second, related limitation is that wal.maxParallel downloads the requested segment and the following ones together, then waits for the whole batch before returning the requested segment. A separate field, wal.prefetch, is needed so the library can place a later segment into the spool without holding the requested one. The plugin would use that field in a follow-up change.

Lingua principale
Go
Stelle
11
Fork
30
Merge medio
3g 13h
PR unite (30g)
16

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/barman-cloud

Tutte le issue di cloudnative-pg/barman-cloud

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.