CheckWalArchiveDestination error names barman-cloud-wal-archive instead of barman-cloud-check-wal-archive
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 72/100
Línea de trabajo
Lee CheckWalArchiveDestination en pkg/walarchive/cmd.go y compara el formato del error con las líneas de registro justo encima. El issue también señala un comentario relacionado en pkg/archiver/archiver.go y el comportamiento en barman/clients/cloud_check_wal_archive.py. La tarea está terminada cuando el error nombra correctamente el comando de comprobación y el comentario refleja el comportamiento del bucket descrito.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
CheckWalArchiveDestination in pkg/walarchive/cmd.go runs barman-cloud-check-wal-archive, but when it fails it returns:
unexpected failure invoking barman-cloud-wal-archive: exit status 4
The fmt.Errorf at line 188 (main 7b420b0, the same in v0.7.0) formats utils.BarmanCloudWalArchive instead of utils.BarmanCloudCheckWalArchive. The log lines just above it use the right name.
With plugin-barman-cloud this is the message CloudNativePG reports when the first-WAL check fails (in my case a 403 on HeadBucket), so it reads as if WAL archiving itself failed, and it points at the wrong command when debugging.
A related comment in pkg/archiver/archiver.go (line 158) says that barman-cloud-check-wal-archive "only lists the objects in the bucket". It also sends HeadBucket and, if the bucket is missing, creates it (barman/clients/cloud_check_wal_archive.py). Not a bug, but it can mislead someone working out the minimal permissions.
Proposed fix: use utils.BarmanCloudCheckWalArchive in that error, and reword the comment. I can send the PR (signed off, branch dev/<this issue>) if you agree.
- Lenguaje dominante
- Go
- Estrellas
- 11
- Forks
- 31
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 12
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudnative-pg/barman-cloud
-
WAL restore starts a new process for every segmentPosiblemente ocupada @Kobayashi-UwU la tomó hace 53 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
cloudnative-pg/barman-cloud#318 ·
Los mantenedores suelen responder en 1 día
-
Dependency DashboardAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
cloudnative-pg/barman-cloud#5 ·
Los mantenedores suelen responder en 1 día
Todos los issues de cloudnative-pg/barman-cloud
Issues similares
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPosiblemente ocupada @huanghaoyuanhhy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
zilliztech/milvus-backup#1418 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
eugenioenko/ttt#1909 ·
Los mantenedores suelen responder en 1 día
-
ColumnIndex max truncation returns a value smaller than the real max when the prefix is all 0xFFAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
parquet-go/parquet-go#819 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
feat(arithmetization): update `arithmetization` to ZkC version `v1.2.38`Posiblemente ocupada @DavePearce la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
LFDT-Lineth/lineth-monorepo#4679 ·
Los mantenedores suelen responder en 1 día