cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Create new cluster using plugin configuration but always get this error in replica pod.
- Lenguaje dominante
- Go
- Estrellas
- 191
- Forks
- 72
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 21
Descripción
{"level":"error","ts":"2025-08-08T02:41:53.322975793Z","msg":"Error while handling GRPC request","logging_pod":"cluster-example-1","info":{"Server":{"Client":{"Client":{}},"InstanceName":"cluster-example-1","SpoolDirectory":"/controller/wal-restore-spool","PGDataPath":"/var/lib/postgresql/data/pgdata","PGWALPath":"/var/lib/postgresql/data/pgdata/pg_wal"},"FullMethod":"/cnpgi.wal.v1.WAL/Restore"},"error":"WAL file not found","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\t/go/pkg/mod/github.com/cloudnative-pg/machinery@v0.2.0/pkg/log/log.go:125\ngithub.com/cloudnative-pg/cnpg-i-machinery/pkg/pluginhelper/http.(*Server).Start.logFailedRequestsUnaryServerInterceptor.func2\n\t/go/pkg/mod/github.com/cloudnative-pg/cnpg-i-machinery@v0.3.0/pkg/pluginhelper/http/grpc.go:51\ngoogle.golang.org/grpc.NewServer.chainUnaryServerInterceptors.chainUnaryInterceptors.func1\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1208\ngithub.com/cloudnative-pg/cnpg-i/pkg/wal._WAL_Restore_Handler\n\t/go/pkg/mod/github.com/cloudnative-pg/cnpg-i@v0.2.1/pkg/wal/wal_grpc.pb.go:214\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1405\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1815\ngoogle.golang.org/grpc.(*Server).serveStreams.func2.1\n\t/go/pkg/mod/google.golang.org/grpc@v1.72.2/server.go:1035"}
Guía de contribución
Línea de trabajo
Comience en el punto de entrada gRPC de WAL Restore e inspeccione cómo la configuración del plugin se asigna a /controller/wal-restore-spool y a las rutas de datos de PostgreSQL de la réplica. Reproduzca la creación del clúster, rastree por qué falta el archivo WAL solicitado y verifique que la recuperación de la réplica se complete sin el error.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go, grpc, postgresql
- Área
- backend-api-design, databases
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100