Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Prefetched WAL segments are not returned until the whole batch finishes

Abierto
#1,149 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@Kobayashi-UwU ya está trabajando en esto.

Desde el 9/10/2026.

  • #1150 de @Kobayashi-UwU — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go, postgresql

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
198
Forks
81
Merge medio
2 d 6 h
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cloudnative-pg/plugin-barman-cloud

Todos los issues de cloudnative-pg/plugin-barman-cloud

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.